v1beta1

package
v0.0.0-...-274ce61 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 9 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="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.applicationId)",message="applicationId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.capabilities)",message="capabilities is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +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) GetManagementPolicy

func (mg *CloudFormationStack) GetManagementPolicy() xpv1.ManagementPolicy

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

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

GetProviderReference of this CloudFormationStack. Deprecated: Use GetProviderConfigReference.

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

func (mg *CloudFormationStack) SetManagementPolicy(r xpv1.ManagementPolicy)

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

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

SetProviderReference of this CloudFormationStack. Deprecated: Use SetProviderConfigReference.

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 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
	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.
	Outputs map[string]*string `json:"outputs,omitempty" tf:"outputs,omitempty"`

	// A map of Parameter structures that specify input parameters for the stack.
	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.
	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.
	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
	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
	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
	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"`
}

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