v1beta1

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CloudFormationStack_Kind             = "CloudFormationStack"
	CloudFormationStack_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CloudFormationStack_Kind}.String()
	CloudFormationStack_KindAPIVersion   = CloudFormationStack_Kind + "." + CRDGroupVersion.String()
	CloudFormationStack_GroupVersionKind = CRDGroupVersion.WithKind(CloudFormationStack_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 CloudFormationStack

type CloudFormationStack 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.applicationId) || (has(self.initProvider) && has(self.initProvider.applicationId))",message="spec.forProvider.applicationId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.capabilities) || (has(self.initProvider) && has(self.initProvider.capabilities))",message="spec.forProvider.capabilities is a required parameter"
	// +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   CloudFormationStackSpec   `json:"spec"`
	Status CloudFormationStackStatus `json:"status,omitempty"`
}

CloudFormationStack is the Schema for the CloudFormationStacks API. Deploys an Application CloudFormation Stack from the Serverless Application Repository. +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 (*CloudFormationStack) DeepCopy

func (in *CloudFormationStack) DeepCopy() *CloudFormationStack

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

func (*CloudFormationStack) DeepCopyInto

func (in *CloudFormationStack) DeepCopyInto(out *CloudFormationStack)

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

func (*CloudFormationStack) DeepCopyObject

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

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

func (*CloudFormationStack) GetCondition

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

GetCondition of this CloudFormationStack.

func (*CloudFormationStack) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CloudFormationStack

func (*CloudFormationStack) GetDeletionPolicy

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

GetDeletionPolicy of this CloudFormationStack.

func (*CloudFormationStack) GetID

func (tr *CloudFormationStack) GetID() string

GetID returns ID of underlying Terraform resource of this CloudFormationStack

func (*CloudFormationStack) GetInitParameters added in v0.38.0

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

GetInitParameters of this CloudFormationStack

func (*CloudFormationStack) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this CloudFormationStack.

func (*CloudFormationStack) GetMergedParameters added in v0.44.0

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

GetInitParameters of this CloudFormationStack

func (*CloudFormationStack) GetObservation

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

GetObservation of this CloudFormationStack

func (*CloudFormationStack) GetParameters

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

GetParameters of this CloudFormationStack

func (*CloudFormationStack) GetProviderConfigReference

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

GetProviderConfigReference of this CloudFormationStack.

func (*CloudFormationStack) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CloudFormationStack.

func (*CloudFormationStack) GetTerraformResourceType

func (mg *CloudFormationStack) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CloudFormationStack

func (*CloudFormationStack) GetTerraformSchemaVersion

func (tr *CloudFormationStack) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CloudFormationStack) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CloudFormationStack.

func (*CloudFormationStack) Hub added in v0.47.2

func (tr *CloudFormationStack) Hub()

Hub marks this type as a conversion hub.

func (*CloudFormationStack) LateInitialize

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

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

func (*CloudFormationStack) SetConditions

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

SetConditions of this CloudFormationStack.

func (*CloudFormationStack) SetDeletionPolicy

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

SetDeletionPolicy of this CloudFormationStack.

func (*CloudFormationStack) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this CloudFormationStack.

func (*CloudFormationStack) SetObservation

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

SetObservation for this CloudFormationStack

func (*CloudFormationStack) SetParameters

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

SetParameters for this CloudFormationStack

func (*CloudFormationStack) SetProviderConfigReference

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

SetProviderConfigReference of this CloudFormationStack.

func (*CloudFormationStack) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CloudFormationStack.

func (*CloudFormationStack) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CloudFormationStack.

type CloudFormationStackInitParameters added in v0.38.0

type CloudFormationStackInitParameters struct {

	// The ARN of the application from the Serverless Application Repository.
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// A list of capabilities. Valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, or CAPABILITY_AUTO_EXPAND
	// +listType=set
	Capabilities []*string `json:"capabilities,omitempty" tf:"capabilities,omitempty"`

	// The name of the stack to create. The resource deployed in AWS will be prefixed with serverlessrepo-
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A map of Parameter structures that specify input parameters for the stack.
	// +mapType=granular
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The version of the application to deploy. If not supplied, deploys the latest version.
	SemanticVersion *string `json:"semanticVersion,omitempty" tf:"semantic_version,omitempty"`

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

func (*CloudFormationStackInitParameters) DeepCopy added in v0.38.0

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

func (*CloudFormationStackInitParameters) DeepCopyInto added in v0.38.0

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

type CloudFormationStackList

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

CloudFormationStackList contains a list of CloudFormationStacks

func (*CloudFormationStackList) DeepCopy

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

func (*CloudFormationStackList) DeepCopyInto

func (in *CloudFormationStackList) DeepCopyInto(out *CloudFormationStackList)

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

func (*CloudFormationStackList) DeepCopyObject

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

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

func (*CloudFormationStackList) GetItems

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

GetItems of this CloudFormationStackList.

type CloudFormationStackObservation

type CloudFormationStackObservation struct {

	// The ARN of the application from the Serverless Application Repository.
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// A list of capabilities. Valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, or CAPABILITY_AUTO_EXPAND
	// +listType=set
	Capabilities []*string `json:"capabilities,omitempty" tf:"capabilities,omitempty"`

	// A unique identifier of the stack.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the stack to create. The resource deployed in AWS will be prefixed with serverlessrepo-
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A map of outputs from the stack.
	// +mapType=granular
	Outputs map[string]*string `json:"outputs,omitempty" tf:"outputs,omitempty"`

	// A map of Parameter structures that specify input parameters for the stack.
	// +mapType=granular
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The version of the application to deploy. If not supplied, deploys the latest version.
	SemanticVersion *string `json:"semanticVersion,omitempty" tf:"semantic_version,omitempty"`

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

	// A 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 (*CloudFormationStackObservation) DeepCopy

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

func (*CloudFormationStackObservation) DeepCopyInto

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

type CloudFormationStackParameters

type CloudFormationStackParameters struct {

	// The ARN of the application from the Serverless Application Repository.
	// +kubebuilder:validation:Optional
	ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"`

	// A list of capabilities. Valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, or CAPABILITY_AUTO_EXPAND
	// +kubebuilder:validation:Optional
	// +listType=set
	Capabilities []*string `json:"capabilities,omitempty" tf:"capabilities,omitempty"`

	// The name of the stack to create. The resource deployed in AWS will be prefixed with serverlessrepo-
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A map of Parameter structures that specify input parameters for the stack.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,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:"-"`

	// The version of the application to deploy. If not supplied, deploys the latest version.
	// +kubebuilder:validation:Optional
	SemanticVersion *string `json:"semanticVersion,omitempty" tf:"semantic_version,omitempty"`

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

func (*CloudFormationStackParameters) DeepCopy

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

func (*CloudFormationStackParameters) DeepCopyInto

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

type CloudFormationStackSpec

type CloudFormationStackSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CloudFormationStackParameters `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 CloudFormationStackInitParameters `json:"initProvider,omitempty"`
}

CloudFormationStackSpec defines the desired state of CloudFormationStack

func (*CloudFormationStackSpec) DeepCopy

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

func (*CloudFormationStackSpec) DeepCopyInto

func (in *CloudFormationStackSpec) DeepCopyInto(out *CloudFormationStackSpec)

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

type CloudFormationStackStatus

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

CloudFormationStackStatus defines the observed state of CloudFormationStack.

func (*CloudFormationStackStatus) DeepCopy

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

func (*CloudFormationStackStatus) 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