v1beta2

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

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

Index

Constants

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

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 (
	// 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
)

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) 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

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

GetInitParameters of this App

func (*App) GetManagementPolicies

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

GetManagementPolicies of this App.

func (*App) GetMergedParameters

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) Hub

func (tr *App) Hub()

Hub marks this type as a conversion hub.

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

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

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. See auto_branch_creation_config Block for details.
	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"`

	// Cache configuration for the Amplify app. See cache_config Block for details.
	CacheConfig *CacheConfigInitParameters `json:"cacheConfig,omitempty" tf:"cache_config,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. See custom_rule Block for details.
	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

func (in *AppInitParameters) DeepCopy() *AppInitParameters

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

func (*AppInitParameters) DeepCopyInto

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. See auto_branch_creation_config Block for details.
	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"`

	// Cache configuration for the Amplify app. See cache_config Block for details.
	CacheConfig *CacheConfigObservation `json:"cacheConfig,omitempty" tf:"cache_config,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. See custom_rule Block for details.
	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. See auto_branch_creation_config Block for details.
	// +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"`

	// Cache configuration for the Amplify app. See cache_config Block for details.
	// +kubebuilder:validation:Optional
	CacheConfig *CacheConfigParameters `json:"cacheConfig,omitempty" tf:"cache_config,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. See custom_rule Block for details.
	// +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

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

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

func (*AutoBranchCreationConfigInitParameters) DeepCopyInto

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 CacheConfigInitParameters added in v1.15.0

type CacheConfigInitParameters struct {

	// Type of cache configuration to use for an Amplify app. Valid values: AMPLIFY_MANAGED, AMPLIFY_MANAGED_NO_COOKIES.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*CacheConfigInitParameters) DeepCopy added in v1.15.0

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

func (*CacheConfigInitParameters) DeepCopyInto added in v1.15.0

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

type CacheConfigObservation added in v1.15.0

type CacheConfigObservation struct {

	// Type of cache configuration to use for an Amplify app. Valid values: AMPLIFY_MANAGED, AMPLIFY_MANAGED_NO_COOKIES.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*CacheConfigObservation) DeepCopy added in v1.15.0

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

func (*CacheConfigObservation) DeepCopyInto added in v1.15.0

func (in *CacheConfigObservation) DeepCopyInto(out *CacheConfigObservation)

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

type CacheConfigParameters added in v1.15.0

type CacheConfigParameters struct {

	// Type of cache configuration to use for an Amplify app. Valid values: AMPLIFY_MANAGED, AMPLIFY_MANAGED_NO_COOKIES.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*CacheConfigParameters) DeepCopy added in v1.15.0

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

func (*CacheConfigParameters) DeepCopyInto added in v1.15.0

func (in *CacheConfigParameters) DeepCopyInto(out *CacheConfigParameters)

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

type CustomRuleInitParameters

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

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

func (*CustomRuleInitParameters) DeepCopyInto

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

type ProductionBranchInitParameters struct {
}

func (*ProductionBranchInitParameters) DeepCopy

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

func (*ProductionBranchInitParameters) DeepCopyInto

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.

Jump to

Keyboard shortcuts

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