v1beta1

package
v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=amplify.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "amplify.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	App_Kind             = "App"
	App_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: App_Kind}.String()
	App_KindAPIVersion   = App_Kind + "." + CRDGroupVersion.String()
	App_GroupVersionKind = CRDGroupVersion.WithKind(App_Kind)
)

Repository type metadata.

View Source
var (
	BackendEnvironment_Kind             = "BackendEnvironment"
	BackendEnvironment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BackendEnvironment_Kind}.String()
	BackendEnvironment_KindAPIVersion   = BackendEnvironment_Kind + "." + CRDGroupVersion.String()
	BackendEnvironment_GroupVersionKind = CRDGroupVersion.WithKind(BackendEnvironment_Kind)
)

Repository type metadata.

View Source
var (
	Branch_Kind             = "Branch"
	Branch_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Branch_Kind}.String()
	Branch_KindAPIVersion   = Branch_Kind + "." + CRDGroupVersion.String()
	Branch_GroupVersionKind = CRDGroupVersion.WithKind(Branch_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Webhook_Kind             = "Webhook"
	Webhook_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Webhook_Kind}.String()
	Webhook_KindAPIVersion   = Webhook_Kind + "." + CRDGroupVersion.String()
	Webhook_GroupVersionKind = CRDGroupVersion.WithKind(Webhook_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type App

type App struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   AppSpec   `json:"spec"`
	Status AppStatus `json:"status,omitempty"`
}

App is the Schema for the Apps API. Provides an Amplify App resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*App) ConvertFrom added in v1.7.0

func (tr *App) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the App type.

func (*App) ConvertTo added in v1.7.0

func (tr *App) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this App to the hub type.

func (*App) DeepCopy

func (in *App) DeepCopy() *App

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App.

func (*App) DeepCopyInto

func (in *App) DeepCopyInto(out *App)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*App) DeepCopyObject

func (in *App) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*App) GetCondition

func (mg *App) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this App.

func (*App) GetConnectionDetailsMapping

func (tr *App) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this App

func (*App) GetDeletionPolicy

func (mg *App) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this App.

func (*App) GetID

func (tr *App) GetID() string

GetID returns ID of underlying Terraform resource of this App

func (*App) GetInitParameters added in v0.38.0

func (tr *App) GetInitParameters() (map[string]any, error)

GetInitParameters of this App

func (*App) GetManagementPolicies added in v0.38.0

func (mg *App) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this App.

func (*App) GetMergedParameters added in v0.44.0

func (tr *App) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this App

func (*App) GetObservation

func (tr *App) GetObservation() (map[string]any, error)

GetObservation of this App

func (*App) GetParameters

func (tr *App) GetParameters() (map[string]any, error)

GetParameters of this App

func (*App) GetProviderConfigReference

func (mg *App) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this App.

func (*App) GetPublishConnectionDetailsTo

func (mg *App) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this App.

func (*App) GetTerraformResourceType

func (mg *App) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this App

func (*App) GetTerraformSchemaVersion

func (tr *App) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*App) GetWriteConnectionSecretToReference

func (mg *App) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this App.

func (*App) LateInitialize

func (tr *App) LateInitialize(attrs []byte) (bool, error)

LateInitialize this App using its observed tfState. returns True if there are any spec changes for the resource.

func (*App) ResolveReferences

func (mg *App) ResolveReferences(ctx context.Context, c client.Reader) error

func (*App) SetConditions

func (mg *App) SetConditions(c ...xpv1.Condition)

SetConditions of this App.

func (*App) SetDeletionPolicy

func (mg *App) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this App.

func (*App) SetManagementPolicies added in v0.38.0

func (mg *App) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this App.

func (*App) SetObservation

func (tr *App) SetObservation(obs map[string]any) error

SetObservation for this App

func (*App) SetParameters

func (tr *App) SetParameters(params map[string]any) error

SetParameters for this App

func (*App) SetProviderConfigReference

func (mg *App) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this App.

func (*App) SetPublishConnectionDetailsTo

func (mg *App) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this App.

func (*App) SetWriteConnectionSecretToReference

func (mg *App) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this App.

type AppInitParameters added in v0.38.0

type AppInitParameters struct {

	// Personal access token for a third-party source control system for an Amplify app. This token must have write access to the relevant repo to create a webhook and a read-only deploy key for the Amplify project. The token is not stored, so after applying this attribute can be removed and the setup token deleted.
	AccessTokenSecretRef *v1.SecretKeySelector `json:"accessTokenSecretRef,omitempty" tf:"-"`

	// Automated branch creation configuration for an Amplify app. An auto_branch_creation_config block is documented below.
	AutoBranchCreationConfig []AutoBranchCreationConfigInitParameters `json:"autoBranchCreationConfig,omitempty" tf:"auto_branch_creation_config,omitempty"`

	// Automated branch creation glob patterns for an Amplify app.
	// +listType=set
	AutoBranchCreationPatterns []*string `json:"autoBranchCreationPatterns,omitempty" tf:"auto_branch_creation_patterns,omitempty"`

	// Credentials for basic authorization for an Amplify app.
	BasicAuthCredentialsSecretRef *v1.SecretKeySelector `json:"basicAuthCredentialsSecretRef,omitempty" tf:"-"`

	// The build specification (build spec) for an Amplify app.
	BuildSpec *string `json:"buildSpec,omitempty" tf:"build_spec,omitempty"`

	// The custom HTTP headers for an Amplify app.
	CustomHeaders *string `json:"customHeaders,omitempty" tf:"custom_headers,omitempty"`

	// Custom rewrite and redirect rules for an Amplify app. A custom_rule block is documented below.
	CustomRule []CustomRuleInitParameters `json:"customRule,omitempty" tf:"custom_rule,omitempty"`

	// Description for an Amplify app.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Enables automated branch creation for an Amplify app.
	EnableAutoBranchCreation *bool `json:"enableAutoBranchCreation,omitempty" tf:"enable_auto_branch_creation,omitempty"`

	// Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
	EnableBasicAuth *bool `json:"enableBasicAuth,omitempty" tf:"enable_basic_auth,omitempty"`

	// Enables auto-building of branches for the Amplify App.
	EnableBranchAutoBuild *bool `json:"enableBranchAutoBuild,omitempty" tf:"enable_branch_auto_build,omitempty"`

	// Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
	EnableBranchAutoDeletion *bool `json:"enableBranchAutoDeletion,omitempty" tf:"enable_branch_auto_deletion,omitempty"`

	// Environment variables map for an Amplify app.
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// AWS Identity and Access Management (IAM) service role for an Amplify app.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	IAMServiceRoleArn *string `json:"iamServiceRoleArn,omitempty" tf:"iam_service_role_arn,omitempty"`

	// Reference to a Role in iam to populate iamServiceRoleArn.
	// +kubebuilder:validation:Optional
	IAMServiceRoleArnRef *v1.Reference `json:"iamServiceRoleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate iamServiceRoleArn.
	// +kubebuilder:validation:Optional
	IAMServiceRoleArnSelector *v1.Selector `json:"iamServiceRoleArnSelector,omitempty" tf:"-"`

	// Name for an Amplify app.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
	OauthTokenSecretRef *v1.SecretKeySelector `json:"oauthTokenSecretRef,omitempty" tf:"-"`

	// Platform or framework for an Amplify app. Valid values: WEB, WEB_COMPUTE. Default value: WEB.
	Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`

	// Repository for an Amplify app.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*AppInitParameters) DeepCopy added in v0.38.0

func (in *AppInitParameters) DeepCopy() *AppInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppInitParameters.

func (*AppInitParameters) DeepCopyInto added in v0.38.0

func (in *AppInitParameters) DeepCopyInto(out *AppInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppList

type AppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []App `json:"items"`
}

AppList contains a list of Apps

func (*AppList) DeepCopy

func (in *AppList) DeepCopy() *AppList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppList.

func (*AppList) DeepCopyInto

func (in *AppList) DeepCopyInto(out *AppList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AppList) DeepCopyObject

func (in *AppList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AppList) GetItems

func (l *AppList) GetItems() []resource.Managed

GetItems of this AppList.

type AppObservation

type AppObservation struct {

	// ARN of the Amplify app.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Automated branch creation configuration for an Amplify app. An auto_branch_creation_config block is documented below.
	AutoBranchCreationConfig []AutoBranchCreationConfigObservation `json:"autoBranchCreationConfig,omitempty" tf:"auto_branch_creation_config,omitempty"`

	// Automated branch creation glob patterns for an Amplify app.
	// +listType=set
	AutoBranchCreationPatterns []*string `json:"autoBranchCreationPatterns,omitempty" tf:"auto_branch_creation_patterns,omitempty"`

	// The build specification (build spec) for an Amplify app.
	BuildSpec *string `json:"buildSpec,omitempty" tf:"build_spec,omitempty"`

	// The custom HTTP headers for an Amplify app.
	CustomHeaders *string `json:"customHeaders,omitempty" tf:"custom_headers,omitempty"`

	// Custom rewrite and redirect rules for an Amplify app. A custom_rule block is documented below.
	CustomRule []CustomRuleObservation `json:"customRule,omitempty" tf:"custom_rule,omitempty"`

	// Default domain for the Amplify app.
	DefaultDomain *string `json:"defaultDomain,omitempty" tf:"default_domain,omitempty"`

	// Description for an Amplify app.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Enables automated branch creation for an Amplify app.
	EnableAutoBranchCreation *bool `json:"enableAutoBranchCreation,omitempty" tf:"enable_auto_branch_creation,omitempty"`

	// Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
	EnableBasicAuth *bool `json:"enableBasicAuth,omitempty" tf:"enable_basic_auth,omitempty"`

	// Enables auto-building of branches for the Amplify App.
	EnableBranchAutoBuild *bool `json:"enableBranchAutoBuild,omitempty" tf:"enable_branch_auto_build,omitempty"`

	// Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
	EnableBranchAutoDeletion *bool `json:"enableBranchAutoDeletion,omitempty" tf:"enable_branch_auto_deletion,omitempty"`

	// Environment variables map for an Amplify app.
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// AWS Identity and Access Management (IAM) service role for an Amplify app.
	IAMServiceRoleArn *string `json:"iamServiceRoleArn,omitempty" tf:"iam_service_role_arn,omitempty"`

	// Unique ID of the Amplify app.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name for an Amplify app.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Platform or framework for an Amplify app. Valid values: WEB, WEB_COMPUTE. Default value: WEB.
	Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`

	// Describes the information about a production branch for an Amplify app. A production_branch block is documented below.
	ProductionBranch []ProductionBranchObservation `json:"productionBranch,omitempty" tf:"production_branch,omitempty"`

	// Repository for an Amplify app.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*AppObservation) DeepCopy

func (in *AppObservation) DeepCopy() *AppObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppObservation.

func (*AppObservation) DeepCopyInto

func (in *AppObservation) DeepCopyInto(out *AppObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppParameters

type AppParameters struct {

	// Personal access token for a third-party source control system for an Amplify app. This token must have write access to the relevant repo to create a webhook and a read-only deploy key for the Amplify project. The token is not stored, so after applying this attribute can be removed and the setup token deleted.
	// +kubebuilder:validation:Optional
	AccessTokenSecretRef *v1.SecretKeySelector `json:"accessTokenSecretRef,omitempty" tf:"-"`

	// Automated branch creation configuration for an Amplify app. An auto_branch_creation_config block is documented below.
	// +kubebuilder:validation:Optional
	AutoBranchCreationConfig []AutoBranchCreationConfigParameters `json:"autoBranchCreationConfig,omitempty" tf:"auto_branch_creation_config,omitempty"`

	// Automated branch creation glob patterns for an Amplify app.
	// +kubebuilder:validation:Optional
	// +listType=set
	AutoBranchCreationPatterns []*string `json:"autoBranchCreationPatterns,omitempty" tf:"auto_branch_creation_patterns,omitempty"`

	// Credentials for basic authorization for an Amplify app.
	// +kubebuilder:validation:Optional
	BasicAuthCredentialsSecretRef *v1.SecretKeySelector `json:"basicAuthCredentialsSecretRef,omitempty" tf:"-"`

	// The build specification (build spec) for an Amplify app.
	// +kubebuilder:validation:Optional
	BuildSpec *string `json:"buildSpec,omitempty" tf:"build_spec,omitempty"`

	// The custom HTTP headers for an Amplify app.
	// +kubebuilder:validation:Optional
	CustomHeaders *string `json:"customHeaders,omitempty" tf:"custom_headers,omitempty"`

	// Custom rewrite and redirect rules for an Amplify app. A custom_rule block is documented below.
	// +kubebuilder:validation:Optional
	CustomRule []CustomRuleParameters `json:"customRule,omitempty" tf:"custom_rule,omitempty"`

	// Description for an Amplify app.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Enables automated branch creation for an Amplify app.
	// +kubebuilder:validation:Optional
	EnableAutoBranchCreation *bool `json:"enableAutoBranchCreation,omitempty" tf:"enable_auto_branch_creation,omitempty"`

	// Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
	// +kubebuilder:validation:Optional
	EnableBasicAuth *bool `json:"enableBasicAuth,omitempty" tf:"enable_basic_auth,omitempty"`

	// Enables auto-building of branches for the Amplify App.
	// +kubebuilder:validation:Optional
	EnableBranchAutoBuild *bool `json:"enableBranchAutoBuild,omitempty" tf:"enable_branch_auto_build,omitempty"`

	// Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
	// +kubebuilder:validation:Optional
	EnableBranchAutoDeletion *bool `json:"enableBranchAutoDeletion,omitempty" tf:"enable_branch_auto_deletion,omitempty"`

	// Environment variables map for an Amplify app.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// AWS Identity and Access Management (IAM) service role for an Amplify app.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	IAMServiceRoleArn *string `json:"iamServiceRoleArn,omitempty" tf:"iam_service_role_arn,omitempty"`

	// Reference to a Role in iam to populate iamServiceRoleArn.
	// +kubebuilder:validation:Optional
	IAMServiceRoleArnRef *v1.Reference `json:"iamServiceRoleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate iamServiceRoleArn.
	// +kubebuilder:validation:Optional
	IAMServiceRoleArnSelector *v1.Selector `json:"iamServiceRoleArnSelector,omitempty" tf:"-"`

	// Name for an Amplify app.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
	// +kubebuilder:validation:Optional
	OauthTokenSecretRef *v1.SecretKeySelector `json:"oauthTokenSecretRef,omitempty" tf:"-"`

	// Platform or framework for an Amplify app. Valid values: WEB, WEB_COMPUTE. Default value: WEB.
	// +kubebuilder:validation:Optional
	Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Repository for an Amplify app.
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*AppParameters) DeepCopy

func (in *AppParameters) DeepCopy() *AppParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppParameters.

func (*AppParameters) DeepCopyInto

func (in *AppParameters) DeepCopyInto(out *AppParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppSpec

type AppSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AppParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AppInitParameters `json:"initProvider,omitempty"`
}

AppSpec defines the desired state of App

func (*AppSpec) DeepCopy

func (in *AppSpec) DeepCopy() *AppSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec.

func (*AppSpec) DeepCopyInto

func (in *AppSpec) DeepCopyInto(out *AppSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppStatus

type AppStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        AppObservation `json:"atProvider,omitempty"`
}

AppStatus defines the observed state of App.

func (*AppStatus) DeepCopy

func (in *AppStatus) DeepCopy() *AppStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatus.

func (*AppStatus) DeepCopyInto

func (in *AppStatus) DeepCopyInto(out *AppStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutoBranchCreationConfigInitParameters added in v0.38.0

type AutoBranchCreationConfigInitParameters struct {

	// Basic authorization credentials for the autocreated branch.
	BasicAuthCredentialsSecretRef *v1.SecretKeySelector `json:"basicAuthCredentialsSecretRef,omitempty" tf:"-"`

	// Build specification (build spec) for the autocreated branch.
	BuildSpec *string `json:"buildSpec,omitempty" tf:"build_spec,omitempty"`

	// Enables auto building for the autocreated branch.
	EnableAutoBuild *bool `json:"enableAutoBuild,omitempty" tf:"enable_auto_build,omitempty"`

	// Enables basic authorization for the autocreated branch.
	EnableBasicAuth *bool `json:"enableBasicAuth,omitempty" tf:"enable_basic_auth,omitempty"`

	// Enables performance mode for the branch.
	EnablePerformanceMode *bool `json:"enablePerformanceMode,omitempty" tf:"enable_performance_mode,omitempty"`

	// Enables pull request previews for the autocreated branch.
	EnablePullRequestPreview *bool `json:"enablePullRequestPreview,omitempty" tf:"enable_pull_request_preview,omitempty"`

	// Environment variables for the autocreated branch.
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Framework for the autocreated branch.
	Framework *string `json:"framework,omitempty" tf:"framework,omitempty"`

	// Amplify environment name for the pull request.
	PullRequestEnvironmentName *string `json:"pullRequestEnvironmentName,omitempty" tf:"pull_request_environment_name,omitempty"`

	// Describes the current stage for the autocreated branch. Valid values: PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST.
	Stage *string `json:"stage,omitempty" tf:"stage,omitempty"`
}

func (*AutoBranchCreationConfigInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoBranchCreationConfigInitParameters.

func (*AutoBranchCreationConfigInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutoBranchCreationConfigObservation

type AutoBranchCreationConfigObservation struct {

	// Build specification (build spec) for the autocreated branch.
	BuildSpec *string `json:"buildSpec,omitempty" tf:"build_spec,omitempty"`

	// Enables auto building for the autocreated branch.
	EnableAutoBuild *bool `json:"enableAutoBuild,omitempty" tf:"enable_auto_build,omitempty"`

	// Enables basic authorization for the autocreated branch.
	EnableBasicAuth *bool `json:"enableBasicAuth,omitempty" tf:"enable_basic_auth,omitempty"`

	// Enables performance mode for the branch.
	EnablePerformanceMode *bool `json:"enablePerformanceMode,omitempty" tf:"enable_performance_mode,omitempty"`

	// Enables pull request previews for the autocreated branch.
	EnablePullRequestPreview *bool `json:"enablePullRequestPreview,omitempty" tf:"enable_pull_request_preview,omitempty"`

	// Environment variables for the autocreated branch.
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Framework for the autocreated branch.
	Framework *string `json:"framework,omitempty" tf:"framework,omitempty"`

	// Amplify environment name for the pull request.
	PullRequestEnvironmentName *string `json:"pullRequestEnvironmentName,omitempty" tf:"pull_request_environment_name,omitempty"`

	// Describes the current stage for the autocreated branch. Valid values: PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST.
	Stage *string `json:"stage,omitempty" tf:"stage,omitempty"`
}

func (*AutoBranchCreationConfigObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoBranchCreationConfigObservation.

func (*AutoBranchCreationConfigObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutoBranchCreationConfigParameters

type AutoBranchCreationConfigParameters struct {

	// Basic authorization credentials for the autocreated branch.
	// +kubebuilder:validation:Optional
	BasicAuthCredentialsSecretRef *v1.SecretKeySelector `json:"basicAuthCredentialsSecretRef,omitempty" tf:"-"`

	// Build specification (build spec) for the autocreated branch.
	// +kubebuilder:validation:Optional
	BuildSpec *string `json:"buildSpec,omitempty" tf:"build_spec,omitempty"`

	// Enables auto building for the autocreated branch.
	// +kubebuilder:validation:Optional
	EnableAutoBuild *bool `json:"enableAutoBuild,omitempty" tf:"enable_auto_build,omitempty"`

	// Enables basic authorization for the autocreated branch.
	// +kubebuilder:validation:Optional
	EnableBasicAuth *bool `json:"enableBasicAuth,omitempty" tf:"enable_basic_auth,omitempty"`

	// Enables performance mode for the branch.
	// +kubebuilder:validation:Optional
	EnablePerformanceMode *bool `json:"enablePerformanceMode,omitempty" tf:"enable_performance_mode,omitempty"`

	// Enables pull request previews for the autocreated branch.
	// +kubebuilder:validation:Optional
	EnablePullRequestPreview *bool `json:"enablePullRequestPreview,omitempty" tf:"enable_pull_request_preview,omitempty"`

	// Environment variables for the autocreated branch.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Framework for the autocreated branch.
	// +kubebuilder:validation:Optional
	Framework *string `json:"framework,omitempty" tf:"framework,omitempty"`

	// Amplify environment name for the pull request.
	// +kubebuilder:validation:Optional
	PullRequestEnvironmentName *string `json:"pullRequestEnvironmentName,omitempty" tf:"pull_request_environment_name,omitempty"`

	// Describes the current stage for the autocreated branch. Valid values: PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST.
	// +kubebuilder:validation:Optional
	Stage *string `json:"stage,omitempty" tf:"stage,omitempty"`
}

func (*AutoBranchCreationConfigParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoBranchCreationConfigParameters.

func (*AutoBranchCreationConfigParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackendEnvironment

type BackendEnvironment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BackendEnvironmentSpec   `json:"spec"`
	Status            BackendEnvironmentStatus `json:"status,omitempty"`
}

BackendEnvironment is the Schema for the BackendEnvironments API. Provides an Amplify Backend Environment resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*BackendEnvironment) DeepCopy

func (in *BackendEnvironment) DeepCopy() *BackendEnvironment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendEnvironment.

func (*BackendEnvironment) DeepCopyInto

func (in *BackendEnvironment) DeepCopyInto(out *BackendEnvironment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BackendEnvironment) DeepCopyObject

func (in *BackendEnvironment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BackendEnvironment) GetCondition

func (mg *BackendEnvironment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this BackendEnvironment.

func (*BackendEnvironment) GetConnectionDetailsMapping

func (tr *BackendEnvironment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this BackendEnvironment

func (*BackendEnvironment) GetDeletionPolicy

func (mg *BackendEnvironment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this BackendEnvironment.

func (*BackendEnvironment) GetID

func (tr *BackendEnvironment) GetID() string

GetID returns ID of underlying Terraform resource of this BackendEnvironment

func (*BackendEnvironment) GetInitParameters added in v0.38.0

func (tr *BackendEnvironment) GetInitParameters() (map[string]any, error)

GetInitParameters of this BackendEnvironment

func (*BackendEnvironment) GetManagementPolicies added in v0.38.0

func (mg *BackendEnvironment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this BackendEnvironment.

func (*BackendEnvironment) GetMergedParameters added in v0.44.0

func (tr *BackendEnvironment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this BackendEnvironment

func (*BackendEnvironment) GetObservation

func (tr *BackendEnvironment) GetObservation() (map[string]any, error)

GetObservation of this BackendEnvironment

func (*BackendEnvironment) GetParameters

func (tr *BackendEnvironment) GetParameters() (map[string]any, error)

GetParameters of this BackendEnvironment

func (*BackendEnvironment) GetProviderConfigReference

func (mg *BackendEnvironment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this BackendEnvironment.

func (*BackendEnvironment) GetPublishConnectionDetailsTo

func (mg *BackendEnvironment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this BackendEnvironment.

func (*BackendEnvironment) GetTerraformResourceType

func (mg *BackendEnvironment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BackendEnvironment

func (*BackendEnvironment) GetTerraformSchemaVersion

func (tr *BackendEnvironment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BackendEnvironment) GetWriteConnectionSecretToReference

func (mg *BackendEnvironment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this BackendEnvironment.

func (*BackendEnvironment) Hub added in v0.47.2

func (tr *BackendEnvironment) Hub()

Hub marks this type as a conversion hub.

func (*BackendEnvironment) LateInitialize

func (tr *BackendEnvironment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this BackendEnvironment using its observed tfState. returns True if there are any spec changes for the resource.

func (*BackendEnvironment) ResolveReferences

func (mg *BackendEnvironment) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this BackendEnvironment.

func (*BackendEnvironment) SetConditions

func (mg *BackendEnvironment) SetConditions(c ...xpv1.Condition)

SetConditions of this BackendEnvironment.

func (*BackendEnvironment) SetDeletionPolicy

func (mg *BackendEnvironment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this BackendEnvironment.

func (*BackendEnvironment) SetManagementPolicies added in v0.38.0

func (mg *BackendEnvironment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this BackendEnvironment.

func (*BackendEnvironment) SetObservation

func (tr *BackendEnvironment) SetObservation(obs map[string]any) error

SetObservation for this BackendEnvironment

func (*BackendEnvironment) SetParameters

func (tr *BackendEnvironment) SetParameters(params map[string]any) error

SetParameters for this BackendEnvironment

func (*BackendEnvironment) SetProviderConfigReference

func (mg *BackendEnvironment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this BackendEnvironment.

func (*BackendEnvironment) SetPublishConnectionDetailsTo

func (mg *BackendEnvironment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this BackendEnvironment.

func (*BackendEnvironment) SetWriteConnectionSecretToReference

func (mg *BackendEnvironment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this BackendEnvironment.

type BackendEnvironmentInitParameters added in v0.38.0

type BackendEnvironmentInitParameters struct {

	// Name of deployment artifacts.
	DeploymentArtifacts *string `json:"deploymentArtifacts,omitempty" tf:"deployment_artifacts,omitempty"`

	// AWS CloudFormation stack name of a backend environment.
	StackName *string `json:"stackName,omitempty" tf:"stack_name,omitempty"`
}

func (*BackendEnvironmentInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendEnvironmentInitParameters.

func (*BackendEnvironmentInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackendEnvironmentList

type BackendEnvironmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BackendEnvironment `json:"items"`
}

BackendEnvironmentList contains a list of BackendEnvironments

func (*BackendEnvironmentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendEnvironmentList.

func (*BackendEnvironmentList) DeepCopyInto

func (in *BackendEnvironmentList) DeepCopyInto(out *BackendEnvironmentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BackendEnvironmentList) DeepCopyObject

func (in *BackendEnvironmentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BackendEnvironmentList) GetItems

func (l *BackendEnvironmentList) GetItems() []resource.Managed

GetItems of this BackendEnvironmentList.

type BackendEnvironmentObservation

type BackendEnvironmentObservation struct {

	// Unique ID for an Amplify app.
	AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`

	// ARN for a backend environment that is part of an Amplify app.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Name of deployment artifacts.
	DeploymentArtifacts *string `json:"deploymentArtifacts,omitempty" tf:"deployment_artifacts,omitempty"`

	// Unique ID of the Amplify backend environment.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// AWS CloudFormation stack name of a backend environment.
	StackName *string `json:"stackName,omitempty" tf:"stack_name,omitempty"`
}

func (*BackendEnvironmentObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendEnvironmentObservation.

func (*BackendEnvironmentObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackendEnvironmentParameters

type BackendEnvironmentParameters struct {

	// Unique ID for an Amplify app.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amplify/v1beta2.App
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`

	// Reference to a App in amplify to populate appId.
	// +kubebuilder:validation:Optional
	AppIDRef *v1.Reference `json:"appIdRef,omitempty" tf:"-"`

	// Selector for a App in amplify to populate appId.
	// +kubebuilder:validation:Optional
	AppIDSelector *v1.Selector `json:"appIdSelector,omitempty" tf:"-"`

	// Name of deployment artifacts.
	// +kubebuilder:validation:Optional
	DeploymentArtifacts *string `json:"deploymentArtifacts,omitempty" tf:"deployment_artifacts,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// AWS CloudFormation stack name of a backend environment.
	// +kubebuilder:validation:Optional
	StackName *string `json:"stackName,omitempty" tf:"stack_name,omitempty"`
}

func (*BackendEnvironmentParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendEnvironmentParameters.

func (*BackendEnvironmentParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackendEnvironmentSpec

type BackendEnvironmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BackendEnvironmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider BackendEnvironmentInitParameters `json:"initProvider,omitempty"`
}

BackendEnvironmentSpec defines the desired state of BackendEnvironment

func (*BackendEnvironmentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendEnvironmentSpec.

func (*BackendEnvironmentSpec) DeepCopyInto

func (in *BackendEnvironmentSpec) DeepCopyInto(out *BackendEnvironmentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackendEnvironmentStatus

type BackendEnvironmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        BackendEnvironmentObservation `json:"atProvider,omitempty"`
}

BackendEnvironmentStatus defines the observed state of BackendEnvironment.

func (*BackendEnvironmentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendEnvironmentStatus.

func (*BackendEnvironmentStatus) DeepCopyInto

func (in *BackendEnvironmentStatus) DeepCopyInto(out *BackendEnvironmentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Branch

type Branch struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BranchSpec   `json:"spec"`
	Status            BranchStatus `json:"status,omitempty"`
}

Branch is the Schema for the Branchs API. Provides an Amplify Branch resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Branch) DeepCopy

func (in *Branch) DeepCopy() *Branch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Branch.

func (*Branch) DeepCopyInto

func (in *Branch) DeepCopyInto(out *Branch)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Branch) DeepCopyObject

func (in *Branch) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Branch) GetCondition

func (mg *Branch) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Branch.

func (*Branch) GetConnectionDetailsMapping

func (tr *Branch) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Branch

func (*Branch) GetDeletionPolicy

func (mg *Branch) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Branch.

func (*Branch) GetID

func (tr *Branch) GetID() string

GetID returns ID of underlying Terraform resource of this Branch

func (*Branch) GetInitParameters added in v0.38.0

func (tr *Branch) GetInitParameters() (map[string]any, error)

GetInitParameters of this Branch

func (*Branch) GetManagementPolicies added in v0.38.0

func (mg *Branch) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Branch.

func (*Branch) GetMergedParameters added in v0.44.0

func (tr *Branch) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Branch

func (*Branch) GetObservation

func (tr *Branch) GetObservation() (map[string]any, error)

GetObservation of this Branch

func (*Branch) GetParameters

func (tr *Branch) GetParameters() (map[string]any, error)

GetParameters of this Branch

func (*Branch) GetProviderConfigReference

func (mg *Branch) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Branch.

func (*Branch) GetPublishConnectionDetailsTo

func (mg *Branch) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Branch.

func (*Branch) GetTerraformResourceType

func (mg *Branch) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Branch

func (*Branch) GetTerraformSchemaVersion

func (tr *Branch) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Branch) GetWriteConnectionSecretToReference

func (mg *Branch) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Branch.

func (*Branch) Hub added in v0.47.2

func (tr *Branch) Hub()

Hub marks this type as a conversion hub.

func (*Branch) LateInitialize

func (tr *Branch) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Branch using its observed tfState. returns True if there are any spec changes for the resource.

func (*Branch) ResolveReferences

func (mg *Branch) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Branch.

func (*Branch) SetConditions

func (mg *Branch) SetConditions(c ...xpv1.Condition)

SetConditions of this Branch.

func (*Branch) SetDeletionPolicy

func (mg *Branch) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Branch.

func (*Branch) SetManagementPolicies added in v0.38.0

func (mg *Branch) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Branch.

func (*Branch) SetObservation

func (tr *Branch) SetObservation(obs map[string]any) error

SetObservation for this Branch

func (*Branch) SetParameters

func (tr *Branch) SetParameters(params map[string]any) error

SetParameters for this Branch

func (*Branch) SetProviderConfigReference

func (mg *Branch) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Branch.

func (*Branch) SetPublishConnectionDetailsTo

func (mg *Branch) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Branch.

func (*Branch) SetWriteConnectionSecretToReference

func (mg *Branch) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Branch.

type BranchInitParameters added in v0.38.0

type BranchInitParameters struct {

	// ARN for a backend environment that is part of an Amplify app.
	BackendEnvironmentArn *string `json:"backendEnvironmentArn,omitempty" tf:"backend_environment_arn,omitempty"`

	// Basic authorization credentials for the branch.
	BasicAuthCredentialsSecretRef *v1.SecretKeySelector `json:"basicAuthCredentialsSecretRef,omitempty" tf:"-"`

	// Description for the branch.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Display name for a branch. This is used as the default domain prefix.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Enables auto building for the branch.
	EnableAutoBuild *bool `json:"enableAutoBuild,omitempty" tf:"enable_auto_build,omitempty"`

	// Enables basic authorization for the branch.
	EnableBasicAuth *bool `json:"enableBasicAuth,omitempty" tf:"enable_basic_auth,omitempty"`

	// Enables notifications for the branch.
	EnableNotification *bool `json:"enableNotification,omitempty" tf:"enable_notification,omitempty"`

	// Enables performance mode for the branch.
	EnablePerformanceMode *bool `json:"enablePerformanceMode,omitempty" tf:"enable_performance_mode,omitempty"`

	// Enables pull request previews for this branch.
	EnablePullRequestPreview *bool `json:"enablePullRequestPreview,omitempty" tf:"enable_pull_request_preview,omitempty"`

	// Environment variables for the branch.
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Framework for the branch.
	Framework *string `json:"framework,omitempty" tf:"framework,omitempty"`

	// Amplify environment name for the pull request.
	PullRequestEnvironmentName *string `json:"pullRequestEnvironmentName,omitempty" tf:"pull_request_environment_name,omitempty"`

	// Describes the current stage for the branch. Valid values: PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST.
	Stage *string `json:"stage,omitempty" tf:"stage,omitempty"`

	// Content Time To Live (TTL) for the website in seconds.
	TTL *string `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*BranchInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchInitParameters.

func (*BranchInitParameters) DeepCopyInto added in v0.38.0

func (in *BranchInitParameters) DeepCopyInto(out *BranchInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BranchList

type BranchList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Branch `json:"items"`
}

BranchList contains a list of Branchs

func (*BranchList) DeepCopy

func (in *BranchList) DeepCopy() *BranchList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchList.

func (*BranchList) DeepCopyInto

func (in *BranchList) DeepCopyInto(out *BranchList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BranchList) DeepCopyObject

func (in *BranchList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BranchList) GetItems

func (l *BranchList) GetItems() []resource.Managed

GetItems of this BranchList.

type BranchObservation

type BranchObservation struct {

	// Unique ID for an Amplify app.
	AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`

	// ARN for the branch.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// A list of custom resources that are linked to this branch.
	AssociatedResources []*string `json:"associatedResources,omitempty" tf:"associated_resources,omitempty"`

	// ARN for a backend environment that is part of an Amplify app.
	BackendEnvironmentArn *string `json:"backendEnvironmentArn,omitempty" tf:"backend_environment_arn,omitempty"`

	// Custom domains for the branch.
	CustomDomains []*string `json:"customDomains,omitempty" tf:"custom_domains,omitempty"`

	// Description for the branch.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Destination branch if the branch is a pull request branch.
	DestinationBranch *string `json:"destinationBranch,omitempty" tf:"destination_branch,omitempty"`

	// Display name for a branch. This is used as the default domain prefix.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Enables auto building for the branch.
	EnableAutoBuild *bool `json:"enableAutoBuild,omitempty" tf:"enable_auto_build,omitempty"`

	// Enables basic authorization for the branch.
	EnableBasicAuth *bool `json:"enableBasicAuth,omitempty" tf:"enable_basic_auth,omitempty"`

	// Enables notifications for the branch.
	EnableNotification *bool `json:"enableNotification,omitempty" tf:"enable_notification,omitempty"`

	// Enables performance mode for the branch.
	EnablePerformanceMode *bool `json:"enablePerformanceMode,omitempty" tf:"enable_performance_mode,omitempty"`

	// Enables pull request previews for this branch.
	EnablePullRequestPreview *bool `json:"enablePullRequestPreview,omitempty" tf:"enable_pull_request_preview,omitempty"`

	// Environment variables for the branch.
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Framework for the branch.
	Framework *string `json:"framework,omitempty" tf:"framework,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Amplify environment name for the pull request.
	PullRequestEnvironmentName *string `json:"pullRequestEnvironmentName,omitempty" tf:"pull_request_environment_name,omitempty"`

	// Source branch if the branch is a pull request branch.
	SourceBranch *string `json:"sourceBranch,omitempty" tf:"source_branch,omitempty"`

	// Describes the current stage for the branch. Valid values: PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST.
	Stage *string `json:"stage,omitempty" tf:"stage,omitempty"`

	// Content Time To Live (TTL) for the website in seconds.
	TTL *string `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*BranchObservation) DeepCopy

func (in *BranchObservation) DeepCopy() *BranchObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchObservation.

func (*BranchObservation) DeepCopyInto

func (in *BranchObservation) DeepCopyInto(out *BranchObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BranchParameters

type BranchParameters struct {

	// Unique ID for an Amplify app.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amplify/v1beta2.App
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`

	// Reference to a App in amplify to populate appId.
	// +kubebuilder:validation:Optional
	AppIDRef *v1.Reference `json:"appIdRef,omitempty" tf:"-"`

	// Selector for a App in amplify to populate appId.
	// +kubebuilder:validation:Optional
	AppIDSelector *v1.Selector `json:"appIdSelector,omitempty" tf:"-"`

	// ARN for a backend environment that is part of an Amplify app.
	// +kubebuilder:validation:Optional
	BackendEnvironmentArn *string `json:"backendEnvironmentArn,omitempty" tf:"backend_environment_arn,omitempty"`

	// Basic authorization credentials for the branch.
	// +kubebuilder:validation:Optional
	BasicAuthCredentialsSecretRef *v1.SecretKeySelector `json:"basicAuthCredentialsSecretRef,omitempty" tf:"-"`

	// Description for the branch.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Display name for a branch. This is used as the default domain prefix.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Enables auto building for the branch.
	// +kubebuilder:validation:Optional
	EnableAutoBuild *bool `json:"enableAutoBuild,omitempty" tf:"enable_auto_build,omitempty"`

	// Enables basic authorization for the branch.
	// +kubebuilder:validation:Optional
	EnableBasicAuth *bool `json:"enableBasicAuth,omitempty" tf:"enable_basic_auth,omitempty"`

	// Enables notifications for the branch.
	// +kubebuilder:validation:Optional
	EnableNotification *bool `json:"enableNotification,omitempty" tf:"enable_notification,omitempty"`

	// Enables performance mode for the branch.
	// +kubebuilder:validation:Optional
	EnablePerformanceMode *bool `json:"enablePerformanceMode,omitempty" tf:"enable_performance_mode,omitempty"`

	// Enables pull request previews for this branch.
	// +kubebuilder:validation:Optional
	EnablePullRequestPreview *bool `json:"enablePullRequestPreview,omitempty" tf:"enable_pull_request_preview,omitempty"`

	// Environment variables for the branch.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Framework for the branch.
	// +kubebuilder:validation:Optional
	Framework *string `json:"framework,omitempty" tf:"framework,omitempty"`

	// Amplify environment name for the pull request.
	// +kubebuilder:validation:Optional
	PullRequestEnvironmentName *string `json:"pullRequestEnvironmentName,omitempty" tf:"pull_request_environment_name,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Describes the current stage for the branch. Valid values: PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST.
	// +kubebuilder:validation:Optional
	Stage *string `json:"stage,omitempty" tf:"stage,omitempty"`

	// Content Time To Live (TTL) for the website in seconds.
	// +kubebuilder:validation:Optional
	TTL *string `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*BranchParameters) DeepCopy

func (in *BranchParameters) DeepCopy() *BranchParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchParameters.

func (*BranchParameters) DeepCopyInto

func (in *BranchParameters) DeepCopyInto(out *BranchParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BranchSpec

type BranchSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BranchParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider BranchInitParameters `json:"initProvider,omitempty"`
}

BranchSpec defines the desired state of Branch

func (*BranchSpec) DeepCopy

func (in *BranchSpec) DeepCopy() *BranchSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchSpec.

func (*BranchSpec) DeepCopyInto

func (in *BranchSpec) DeepCopyInto(out *BranchSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BranchStatus

type BranchStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        BranchObservation `json:"atProvider,omitempty"`
}

BranchStatus defines the observed state of Branch.

func (*BranchStatus) DeepCopy

func (in *BranchStatus) DeepCopy() *BranchStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchStatus.

func (*BranchStatus) DeepCopyInto

func (in *BranchStatus) DeepCopyInto(out *BranchStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomRuleInitParameters added in v0.38.0

type CustomRuleInitParameters struct {

	// Condition for a URL rewrite or redirect rule, such as a country code.
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// Source pattern for a URL rewrite or redirect rule.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// Status code for a URL rewrite or redirect rule. Valid values: 200, 301, 302, 404, 404-200.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Target pattern for a URL rewrite or redirect rule.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`
}

func (*CustomRuleInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRuleInitParameters.

func (*CustomRuleInitParameters) DeepCopyInto added in v0.38.0

func (in *CustomRuleInitParameters) DeepCopyInto(out *CustomRuleInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomRuleObservation

type CustomRuleObservation struct {

	// Condition for a URL rewrite or redirect rule, such as a country code.
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// Source pattern for a URL rewrite or redirect rule.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// Status code for a URL rewrite or redirect rule. Valid values: 200, 301, 302, 404, 404-200.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Target pattern for a URL rewrite or redirect rule.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`
}

func (*CustomRuleObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRuleObservation.

func (*CustomRuleObservation) DeepCopyInto

func (in *CustomRuleObservation) DeepCopyInto(out *CustomRuleObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomRuleParameters

type CustomRuleParameters struct {

	// Condition for a URL rewrite or redirect rule, such as a country code.
	// +kubebuilder:validation:Optional
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// Source pattern for a URL rewrite or redirect rule.
	// +kubebuilder:validation:Optional
	Source *string `json:"source" tf:"source,omitempty"`

	// Status code for a URL rewrite or redirect rule. Valid values: 200, 301, 302, 404, 404-200.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Target pattern for a URL rewrite or redirect rule.
	// +kubebuilder:validation:Optional
	Target *string `json:"target" tf:"target,omitempty"`
}

func (*CustomRuleParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRuleParameters.

func (*CustomRuleParameters) DeepCopyInto

func (in *CustomRuleParameters) DeepCopyInto(out *CustomRuleParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProductionBranchInitParameters added in v0.38.0

type ProductionBranchInitParameters struct {
}

func (*ProductionBranchInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionBranchInitParameters.

func (*ProductionBranchInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProductionBranchObservation

type ProductionBranchObservation struct {

	// Branch name for the production branch.
	BranchName *string `json:"branchName,omitempty" tf:"branch_name,omitempty"`

	// Last deploy time of the production branch.
	LastDeployTime *string `json:"lastDeployTime,omitempty" tf:"last_deploy_time,omitempty"`

	// Status of the production branch.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Thumbnail URL for the production branch.
	ThumbnailURL *string `json:"thumbnailUrl,omitempty" tf:"thumbnail_url,omitempty"`
}

func (*ProductionBranchObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionBranchObservation.

func (*ProductionBranchObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProductionBranchParameters

type ProductionBranchParameters struct {
}

func (*ProductionBranchParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductionBranchParameters.

func (*ProductionBranchParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Webhook

type Webhook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WebhookSpec   `json:"spec"`
	Status            WebhookStatus `json:"status,omitempty"`
}

Webhook is the Schema for the Webhooks API. Provides an Amplify Webhook resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Webhook) DeepCopy

func (in *Webhook) DeepCopy() *Webhook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.

func (*Webhook) DeepCopyInto

func (in *Webhook) DeepCopyInto(out *Webhook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Webhook) DeepCopyObject

func (in *Webhook) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Webhook) GetCondition

func (mg *Webhook) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Webhook.

func (*Webhook) GetConnectionDetailsMapping

func (tr *Webhook) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Webhook

func (*Webhook) GetDeletionPolicy

func (mg *Webhook) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Webhook.

func (*Webhook) GetID

func (tr *Webhook) GetID() string

GetID returns ID of underlying Terraform resource of this Webhook

func (*Webhook) GetInitParameters added in v0.38.0

func (tr *Webhook) GetInitParameters() (map[string]any, error)

GetInitParameters of this Webhook

func (*Webhook) GetManagementPolicies added in v0.38.0

func (mg *Webhook) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Webhook.

func (*Webhook) GetMergedParameters added in v0.44.0

func (tr *Webhook) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Webhook

func (*Webhook) GetObservation

func (tr *Webhook) GetObservation() (map[string]any, error)

GetObservation of this Webhook

func (*Webhook) GetParameters

func (tr *Webhook) GetParameters() (map[string]any, error)

GetParameters of this Webhook

func (*Webhook) GetProviderConfigReference

func (mg *Webhook) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Webhook.

func (*Webhook) GetPublishConnectionDetailsTo

func (mg *Webhook) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Webhook.

func (*Webhook) GetTerraformResourceType

func (mg *Webhook) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Webhook

func (*Webhook) GetTerraformSchemaVersion

func (tr *Webhook) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Webhook) GetWriteConnectionSecretToReference

func (mg *Webhook) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Webhook.

func (*Webhook) Hub added in v0.47.2

func (tr *Webhook) Hub()

Hub marks this type as a conversion hub.

func (*Webhook) LateInitialize

func (tr *Webhook) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Webhook using its observed tfState. returns True if there are any spec changes for the resource.

func (*Webhook) ResolveReferences

func (mg *Webhook) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Webhook.

func (*Webhook) SetConditions

func (mg *Webhook) SetConditions(c ...xpv1.Condition)

SetConditions of this Webhook.

func (*Webhook) SetDeletionPolicy

func (mg *Webhook) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Webhook.

func (*Webhook) SetManagementPolicies added in v0.38.0

func (mg *Webhook) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Webhook.

func (*Webhook) SetObservation

func (tr *Webhook) SetObservation(obs map[string]any) error

SetObservation for this Webhook

func (*Webhook) SetParameters

func (tr *Webhook) SetParameters(params map[string]any) error

SetParameters for this Webhook

func (*Webhook) SetProviderConfigReference

func (mg *Webhook) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Webhook.

func (*Webhook) SetPublishConnectionDetailsTo

func (mg *Webhook) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Webhook.

func (*Webhook) SetWriteConnectionSecretToReference

func (mg *Webhook) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Webhook.

type WebhookInitParameters added in v0.38.0

type WebhookInitParameters struct {

	// Unique ID for an Amplify app.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amplify/v1beta2.App
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`

	// Reference to a App in amplify to populate appId.
	// +kubebuilder:validation:Optional
	AppIDRef *v1.Reference `json:"appIdRef,omitempty" tf:"-"`

	// Selector for a App in amplify to populate appId.
	// +kubebuilder:validation:Optional
	AppIDSelector *v1.Selector `json:"appIdSelector,omitempty" tf:"-"`

	// Name for a branch that is part of the Amplify app.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amplify/v1beta1.Branch
	BranchName *string `json:"branchName,omitempty" tf:"branch_name,omitempty"`

	// Reference to a Branch in amplify to populate branchName.
	// +kubebuilder:validation:Optional
	BranchNameRef *v1.Reference `json:"branchNameRef,omitempty" tf:"-"`

	// Selector for a Branch in amplify to populate branchName.
	// +kubebuilder:validation:Optional
	BranchNameSelector *v1.Selector `json:"branchNameSelector,omitempty" tf:"-"`

	// Description for a webhook.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`
}

func (*WebhookInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookInitParameters.

func (*WebhookInitParameters) DeepCopyInto added in v0.38.0

func (in *WebhookInitParameters) DeepCopyInto(out *WebhookInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebhookList

type WebhookList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Webhook `json:"items"`
}

WebhookList contains a list of Webhooks

func (*WebhookList) DeepCopy

func (in *WebhookList) DeepCopy() *WebhookList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookList.

func (*WebhookList) DeepCopyInto

func (in *WebhookList) DeepCopyInto(out *WebhookList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebhookList) DeepCopyObject

func (in *WebhookList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WebhookList) GetItems

func (l *WebhookList) GetItems() []resource.Managed

GetItems of this WebhookList.

type WebhookObservation

type WebhookObservation struct {

	// Unique ID for an Amplify app.
	AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`

	// ARN for the webhook.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Name for a branch that is part of the Amplify app.
	BranchName *string `json:"branchName,omitempty" tf:"branch_name,omitempty"`

	// Description for a webhook.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// URL of the webhook.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*WebhookObservation) DeepCopy

func (in *WebhookObservation) DeepCopy() *WebhookObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookObservation.

func (*WebhookObservation) DeepCopyInto

func (in *WebhookObservation) DeepCopyInto(out *WebhookObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebhookParameters

type WebhookParameters struct {

	// Unique ID for an Amplify app.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amplify/v1beta2.App
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`

	// Reference to a App in amplify to populate appId.
	// +kubebuilder:validation:Optional
	AppIDRef *v1.Reference `json:"appIdRef,omitempty" tf:"-"`

	// Selector for a App in amplify to populate appId.
	// +kubebuilder:validation:Optional
	AppIDSelector *v1.Selector `json:"appIdSelector,omitempty" tf:"-"`

	// Name for a branch that is part of the Amplify app.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amplify/v1beta1.Branch
	// +kubebuilder:validation:Optional
	BranchName *string `json:"branchName,omitempty" tf:"branch_name,omitempty"`

	// Reference to a Branch in amplify to populate branchName.
	// +kubebuilder:validation:Optional
	BranchNameRef *v1.Reference `json:"branchNameRef,omitempty" tf:"-"`

	// Selector for a Branch in amplify to populate branchName.
	// +kubebuilder:validation:Optional
	BranchNameSelector *v1.Selector `json:"branchNameSelector,omitempty" tf:"-"`

	// Description for a webhook.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`
}

func (*WebhookParameters) DeepCopy

func (in *WebhookParameters) DeepCopy() *WebhookParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookParameters.

func (*WebhookParameters) DeepCopyInto

func (in *WebhookParameters) DeepCopyInto(out *WebhookParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebhookSpec

type WebhookSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WebhookParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider WebhookInitParameters `json:"initProvider,omitempty"`
}

WebhookSpec defines the desired state of Webhook

func (*WebhookSpec) DeepCopy

func (in *WebhookSpec) DeepCopy() *WebhookSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookSpec.

func (*WebhookSpec) DeepCopyInto

func (in *WebhookSpec) DeepCopyInto(out *WebhookSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebhookStatus

type WebhookStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        WebhookObservation `json:"atProvider,omitempty"`
}

WebhookStatus defines the observed state of Webhook.

func (*WebhookStatus) DeepCopy

func (in *WebhookStatus) DeepCopy() *WebhookStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookStatus.

func (*WebhookStatus) DeepCopyInto

func (in *WebhookStatus) DeepCopyInto(out *WebhookStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL