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: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 (
	Stack_Kind             = "Stack"
	Stack_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Stack_Kind}.String()
	Stack_KindAPIVersion   = Stack_Kind + "." + CRDGroupVersion.String()
	Stack_GroupVersionKind = CRDGroupVersion.WithKind(Stack_Kind)
)

Repository type metadata.

View Source
var (
	StackSet_Kind             = "StackSet"
	StackSet_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: StackSet_Kind}.String()
	StackSet_KindAPIVersion   = StackSet_Kind + "." + CRDGroupVersion.String()
	StackSet_GroupVersionKind = CRDGroupVersion.WithKind(StackSet_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AutoDeploymentObservation

type AutoDeploymentObservation struct {

	// Whether or not auto-deployment is enabled.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Whether or not to retain stacks when the account is removed.
	RetainStacksOnAccountRemoval *bool `json:"retainStacksOnAccountRemoval,omitempty" tf:"retain_stacks_on_account_removal,omitempty"`
}

func (*AutoDeploymentObservation) DeepCopy

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

func (*AutoDeploymentObservation) DeepCopyInto

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

type AutoDeploymentParameters

type AutoDeploymentParameters struct {

	// Whether or not auto-deployment is enabled.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Whether or not to retain stacks when the account is removed.
	// +kubebuilder:validation:Optional
	RetainStacksOnAccountRemoval *bool `json:"retainStacksOnAccountRemoval,omitempty" tf:"retain_stacks_on_account_removal,omitempty"`
}

func (*AutoDeploymentParameters) DeepCopy

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

func (*AutoDeploymentParameters) DeepCopyInto

func (in *AutoDeploymentParameters) DeepCopyInto(out *AutoDeploymentParameters)

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

type OperationPreferencesObservation

type OperationPreferencesObservation struct {

	// The number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.
	FailureToleranceCount *float64 `json:"failureToleranceCount,omitempty" tf:"failure_tolerance_count,omitempty"`

	// The percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
	FailureTolerancePercentage *float64 `json:"failureTolerancePercentage,omitempty" tf:"failure_tolerance_percentage,omitempty"`

	// The maximum number of accounts in which to perform this operation at one time.
	MaxConcurrentCount *float64 `json:"maxConcurrentCount,omitempty" tf:"max_concurrent_count,omitempty"`

	// The maximum percentage of accounts in which to perform this operation at one time.
	MaxConcurrentPercentage *float64 `json:"maxConcurrentPercentage,omitempty" tf:"max_concurrent_percentage,omitempty"`

	// The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
	RegionConcurrencyType *string `json:"regionConcurrencyType,omitempty" tf:"region_concurrency_type,omitempty"`

	// The order of the Regions in where you want to perform the stack operation.
	RegionOrder []*string `json:"regionOrder,omitempty" tf:"region_order,omitempty"`
}

func (*OperationPreferencesObservation) DeepCopy

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

func (*OperationPreferencesObservation) DeepCopyInto

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

type OperationPreferencesParameters

type OperationPreferencesParameters struct {

	// The number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.
	// +kubebuilder:validation:Optional
	FailureToleranceCount *float64 `json:"failureToleranceCount,omitempty" tf:"failure_tolerance_count,omitempty"`

	// The percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
	// +kubebuilder:validation:Optional
	FailureTolerancePercentage *float64 `json:"failureTolerancePercentage,omitempty" tf:"failure_tolerance_percentage,omitempty"`

	// The maximum number of accounts in which to perform this operation at one time.
	// +kubebuilder:validation:Optional
	MaxConcurrentCount *float64 `json:"maxConcurrentCount,omitempty" tf:"max_concurrent_count,omitempty"`

	// The maximum percentage of accounts in which to perform this operation at one time.
	// +kubebuilder:validation:Optional
	MaxConcurrentPercentage *float64 `json:"maxConcurrentPercentage,omitempty" tf:"max_concurrent_percentage,omitempty"`

	// The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
	// +kubebuilder:validation:Optional
	RegionConcurrencyType *string `json:"regionConcurrencyType,omitempty" tf:"region_concurrency_type,omitempty"`

	// The order of the Regions in where you want to perform the stack operation.
	// +kubebuilder:validation:Optional
	RegionOrder []*string `json:"regionOrder,omitempty" tf:"region_order,omitempty"`
}

func (*OperationPreferencesParameters) DeepCopy

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

func (*OperationPreferencesParameters) DeepCopyInto

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

type Stack

type Stack struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StackSpec   `json:"spec"`
	Status            StackStatus `json:"status,omitempty"`
}

Stack is the Schema for the Stacks API. Provides a CloudFormation Stack resource. +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 (*Stack) DeepCopy

func (in *Stack) DeepCopy() *Stack

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

func (*Stack) DeepCopyInto

func (in *Stack) DeepCopyInto(out *Stack)

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

func (*Stack) DeepCopyObject

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

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

func (*Stack) GetCondition

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

GetCondition of this Stack.

func (*Stack) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Stack

func (*Stack) GetDeletionPolicy

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

GetDeletionPolicy of this Stack.

func (*Stack) GetID

func (tr *Stack) GetID() string

GetID returns ID of underlying Terraform resource of this Stack

func (*Stack) GetManagementPolicy

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

GetManagementPolicy of this Stack.

func (*Stack) GetObservation

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

GetObservation of this Stack

func (*Stack) GetParameters

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

GetParameters of this Stack

func (*Stack) GetProviderConfigReference

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

GetProviderConfigReference of this Stack.

func (*Stack) GetProviderReference

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

GetProviderReference of this Stack. Deprecated: Use GetProviderConfigReference.

func (*Stack) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Stack.

func (*Stack) GetTerraformResourceType

func (mg *Stack) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Stack

func (*Stack) GetTerraformSchemaVersion

func (tr *Stack) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Stack) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Stack.

func (*Stack) LateInitialize

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

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

func (*Stack) ResolveReferences

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

ResolveReferences of this Stack.

func (*Stack) SetConditions

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

SetConditions of this Stack.

func (*Stack) SetDeletionPolicy

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

SetDeletionPolicy of this Stack.

func (*Stack) SetManagementPolicy

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

SetManagementPolicy of this Stack.

func (*Stack) SetObservation

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

SetObservation for this Stack

func (*Stack) SetParameters

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

SetParameters for this Stack

func (*Stack) SetProviderConfigReference

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

SetProviderConfigReference of this Stack.

func (*Stack) SetProviderReference

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

SetProviderReference of this Stack. Deprecated: Use SetProviderConfigReference.

func (*Stack) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Stack.

func (*Stack) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Stack.

type StackList

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

StackList contains a list of Stacks

func (*StackList) DeepCopy

func (in *StackList) DeepCopy() *StackList

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

func (*StackList) DeepCopyInto

func (in *StackList) DeepCopyInto(out *StackList)

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

func (*StackList) DeepCopyObject

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

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

func (*StackList) GetItems

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

GetItems of this StackList.

type StackObservation

type StackObservation struct {

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

	// Set to true to disable rollback of the stack if stack creation failed.
	// Conflicts with on_failure.
	DisableRollback *bool `json:"disableRollback,omitempty" tf:"disable_rollback,omitempty"`

	// The ARN of an IAM role that AWS CloudFormation assumes to create the stack. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
	IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"`

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

	// Stack name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A list of SNS topic ARNs to publish stack related events.
	NotificationArns []*string `json:"notificationArns,omitempty" tf:"notification_arns,omitempty"`

	// Action to be taken if stack creation fails. This must be
	// one of: DO_NOTHING, ROLLBACK, or DELETE. Conflicts with disable_rollback.
	OnFailure *string `json:"onFailure,omitempty" tf:"on_failure,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"`

	// Structure containing the stack policy body.
	// Conflicts w/ policy_url.
	PolicyBody *string `json:"policyBody,omitempty" tf:"policy_body,omitempty"`

	// Location of a file containing the stack policy.
	// Conflicts w/ policy_body.
	PolicyURL *string `json:"policyUrl,omitempty" tf:"policy_url,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"`

	// Structure containing the template body (max size: 51,200 bytes).
	TemplateBody *string `json:"templateBody,omitempty" tf:"template_body,omitempty"`

	// Location of a file containing the template body (max size: 460,800 bytes).
	TemplateURL *string `json:"templateUrl,omitempty" tf:"template_url,omitempty"`

	// The amount of time that can pass before the stack status becomes CREATE_FAILED.
	TimeoutInMinutes *float64 `json:"timeoutInMinutes,omitempty" tf:"timeout_in_minutes,omitempty"`
}

func (*StackObservation) DeepCopy

func (in *StackObservation) DeepCopy() *StackObservation

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

func (*StackObservation) DeepCopyInto

func (in *StackObservation) DeepCopyInto(out *StackObservation)

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

type StackParameters

type StackParameters struct {

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

	// Set to true to disable rollback of the stack if stack creation failed.
	// Conflicts with on_failure.
	// +kubebuilder:validation:Optional
	DisableRollback *bool `json:"disableRollback,omitempty" tf:"disable_rollback,omitempty"`

	// The ARN of an IAM role that AWS CloudFormation assumes to create the stack. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	IAMRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn,omitempty"`

	// Reference to a Role in iam to populate iamRoleArn.
	// +kubebuilder:validation:Optional
	IAMRoleArnRef *v1.Reference `json:"iamRoleArnRef,omitempty" tf:"-"`

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

	// Stack name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// A list of SNS topic ARNs to publish stack related events.
	// +kubebuilder:validation:Optional
	NotificationArns []*string `json:"notificationArns,omitempty" tf:"notification_arns,omitempty"`

	// Action to be taken if stack creation fails. This must be
	// one of: DO_NOTHING, ROLLBACK, or DELETE. Conflicts with disable_rollback.
	// +kubebuilder:validation:Optional
	OnFailure *string `json:"onFailure,omitempty" tf:"on_failure,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"`

	// Structure containing the stack policy body.
	// Conflicts w/ policy_url.
	// +kubebuilder:validation:Optional
	PolicyBody *string `json:"policyBody,omitempty" tf:"policy_body,omitempty"`

	// Location of a file containing the stack policy.
	// Conflicts w/ policy_body.
	// +kubebuilder:validation:Optional
	PolicyURL *string `json:"policyUrl,omitempty" tf:"policy_url,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:"-"`

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

	// Structure containing the template body (max size: 51,200 bytes).
	// +kubebuilder:validation:Optional
	TemplateBody *string `json:"templateBody,omitempty" tf:"template_body,omitempty"`

	// Location of a file containing the template body (max size: 460,800 bytes).
	// +kubebuilder:validation:Optional
	TemplateURL *string `json:"templateUrl,omitempty" tf:"template_url,omitempty"`

	// The amount of time that can pass before the stack status becomes CREATE_FAILED.
	// +kubebuilder:validation:Optional
	TimeoutInMinutes *float64 `json:"timeoutInMinutes,omitempty" tf:"timeout_in_minutes,omitempty"`
}

func (*StackParameters) DeepCopy

func (in *StackParameters) DeepCopy() *StackParameters

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

func (*StackParameters) DeepCopyInto

func (in *StackParameters) DeepCopyInto(out *StackParameters)

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

type StackSet

type StackSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StackSetSpec   `json:"spec"`
	Status            StackSetStatus `json:"status,omitempty"`
}

StackSet is the Schema for the StackSets API. Manages a CloudFormation StackSet. +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 (*StackSet) DeepCopy

func (in *StackSet) DeepCopy() *StackSet

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

func (*StackSet) DeepCopyInto

func (in *StackSet) DeepCopyInto(out *StackSet)

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

func (*StackSet) DeepCopyObject

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

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

func (*StackSet) GetCondition

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

GetCondition of this StackSet.

func (*StackSet) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this StackSet

func (*StackSet) GetDeletionPolicy

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

GetDeletionPolicy of this StackSet.

func (*StackSet) GetID

func (tr *StackSet) GetID() string

GetID returns ID of underlying Terraform resource of this StackSet

func (*StackSet) GetManagementPolicy

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

GetManagementPolicy of this StackSet.

func (*StackSet) GetObservation

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

GetObservation of this StackSet

func (*StackSet) GetParameters

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

GetParameters of this StackSet

func (*StackSet) GetProviderConfigReference

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

GetProviderConfigReference of this StackSet.

func (*StackSet) GetProviderReference

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

GetProviderReference of this StackSet. Deprecated: Use GetProviderConfigReference.

func (*StackSet) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this StackSet.

func (*StackSet) GetTerraformResourceType

func (mg *StackSet) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this StackSet

func (*StackSet) GetTerraformSchemaVersion

func (tr *StackSet) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*StackSet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this StackSet.

func (*StackSet) LateInitialize

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

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

func (*StackSet) ResolveReferences

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

ResolveReferences of this StackSet.

func (*StackSet) SetConditions

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

SetConditions of this StackSet.

func (*StackSet) SetDeletionPolicy

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

SetDeletionPolicy of this StackSet.

func (*StackSet) SetManagementPolicy

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

SetManagementPolicy of this StackSet.

func (*StackSet) SetObservation

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

SetObservation for this StackSet

func (*StackSet) SetParameters

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

SetParameters for this StackSet

func (*StackSet) SetProviderConfigReference

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

SetProviderConfigReference of this StackSet.

func (*StackSet) SetProviderReference

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

SetProviderReference of this StackSet. Deprecated: Use SetProviderConfigReference.

func (*StackSet) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this StackSet.

func (*StackSet) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this StackSet.

type StackSetList

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

StackSetList contains a list of StackSets

func (*StackSetList) DeepCopy

func (in *StackSetList) DeepCopy() *StackSetList

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

func (*StackSetList) DeepCopyInto

func (in *StackSetList) DeepCopyInto(out *StackSetList)

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

func (*StackSetList) DeepCopyObject

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

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

func (*StackSetList) GetItems

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

GetItems of this StackSetList.

type StackSetObservation

type StackSetObservation struct {

	// Amazon Resource Number (ARN) of the IAM Role in the administrator account. This must be defined when using the SELF_MANAGED permission model.
	AdministrationRoleArn *string `json:"administrationRoleArn,omitempty" tf:"administration_role_arn,omitempty"`

	// Amazon Resource Name (ARN) of the StackSet.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Configuration block containing the auto-deployment model for your StackSet. This can only be defined when using the SERVICE_MANAGED permission model.
	AutoDeployment []AutoDeploymentObservation `json:"autoDeployment,omitempty" tf:"auto_deployment,omitempty"`

	// Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: SELF (default), DELEGATED_ADMIN.
	CallAs *string `json:"callAs,omitempty" tf:"call_as,omitempty"`

	// A list of capabilities. Valid values: CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND.
	Capabilities []*string `json:"capabilities,omitempty" tf:"capabilities,omitempty"`

	// Description of the StackSet.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Name of the IAM Role in all target accounts for StackSet operations. Defaults to AWSCloudFormationStackSetExecutionRole when using the SELF_MANAGED permission model. This should not be defined when using the SERVICE_MANAGED permission model.
	ExecutionRoleName *string `json:"executionRoleName,omitempty" tf:"execution_role_name,omitempty"`

	// Name of the StackSet.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Preferences for how AWS CloudFormation performs a stack set update.
	OperationPreferences []OperationPreferencesObservation `json:"operationPreferences,omitempty" tf:"operation_preferences,omitempty"`

	// Key-value map of input parameters for the StackSet template. All template parameters, including those with a Default, must be configured or ignored with lifecycle configuration block ignore_changes argument. All NoEcho template parameters must be ignored with the lifecycle configuration block ignore_changes argument.
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// Describes how the IAM roles required for your StackSet are created. Valid values: SELF_MANAGED (default), SERVICE_MANAGED.
	PermissionModel *string `json:"permissionModel,omitempty" tf:"permission_model,omitempty"`

	// Unique identifier of the StackSet.
	StackSetID *string `json:"stackSetId,omitempty" tf:"stack_set_id,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"`

	// String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with template_url.
	TemplateBody *string `json:"templateBody,omitempty" tf:"template_body,omitempty"`

	// String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with template_body.
	TemplateURL *string `json:"templateUrl,omitempty" tf:"template_url,omitempty"`
}

func (*StackSetObservation) DeepCopy

func (in *StackSetObservation) DeepCopy() *StackSetObservation

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

func (*StackSetObservation) DeepCopyInto

func (in *StackSetObservation) DeepCopyInto(out *StackSetObservation)

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

type StackSetParameters

type StackSetParameters struct {

	// Amazon Resource Number (ARN) of the IAM Role in the administrator account. This must be defined when using the SELF_MANAGED permission model.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	AdministrationRoleArn *string `json:"administrationRoleArn,omitempty" tf:"administration_role_arn,omitempty"`

	// Reference to a Role in iam to populate administrationRoleArn.
	// +kubebuilder:validation:Optional
	AdministrationRoleArnRef *v1.Reference `json:"administrationRoleArnRef,omitempty" tf:"-"`

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

	// Configuration block containing the auto-deployment model for your StackSet. This can only be defined when using the SERVICE_MANAGED permission model.
	// +kubebuilder:validation:Optional
	AutoDeployment []AutoDeploymentParameters `json:"autoDeployment,omitempty" tf:"auto_deployment,omitempty"`

	// Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: SELF (default), DELEGATED_ADMIN.
	// +kubebuilder:validation:Optional
	CallAs *string `json:"callAs,omitempty" tf:"call_as,omitempty"`

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

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

	// Name of the IAM Role in all target accounts for StackSet operations. Defaults to AWSCloudFormationStackSetExecutionRole when using the SELF_MANAGED permission model. This should not be defined when using the SERVICE_MANAGED permission model.
	// +kubebuilder:validation:Optional
	ExecutionRoleName *string `json:"executionRoleName,omitempty" tf:"execution_role_name,omitempty"`

	// Preferences for how AWS CloudFormation performs a stack set update.
	// +kubebuilder:validation:Optional
	OperationPreferences []OperationPreferencesParameters `json:"operationPreferences,omitempty" tf:"operation_preferences,omitempty"`

	// Key-value map of input parameters for the StackSet template. All template parameters, including those with a Default, must be configured or ignored with lifecycle configuration block ignore_changes argument. All NoEcho template parameters must be ignored with the lifecycle configuration block ignore_changes argument.
	// +kubebuilder:validation:Optional
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// Describes how the IAM roles required for your StackSet are created. Valid values: SELF_MANAGED (default), SERVICE_MANAGED.
	// +kubebuilder:validation:Optional
	PermissionModel *string `json:"permissionModel,omitempty" tf:"permission_model,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:"-"`

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

	// String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with template_url.
	// +kubebuilder:validation:Optional
	TemplateBody *string `json:"templateBody,omitempty" tf:"template_body,omitempty"`

	// String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with template_body.
	// +kubebuilder:validation:Optional
	TemplateURL *string `json:"templateUrl,omitempty" tf:"template_url,omitempty"`
}

func (*StackSetParameters) DeepCopy

func (in *StackSetParameters) DeepCopy() *StackSetParameters

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

func (*StackSetParameters) DeepCopyInto

func (in *StackSetParameters) DeepCopyInto(out *StackSetParameters)

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

type StackSetSpec

type StackSetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StackSetParameters `json:"forProvider"`
}

StackSetSpec defines the desired state of StackSet

func (*StackSetSpec) DeepCopy

func (in *StackSetSpec) DeepCopy() *StackSetSpec

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

func (*StackSetSpec) DeepCopyInto

func (in *StackSetSpec) DeepCopyInto(out *StackSetSpec)

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

type StackSetStatus

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

StackSetStatus defines the observed state of StackSet.

func (*StackSetStatus) DeepCopy

func (in *StackSetStatus) DeepCopy() *StackSetStatus

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

func (*StackSetStatus) DeepCopyInto

func (in *StackSetStatus) DeepCopyInto(out *StackSetStatus)

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

type StackSpec

type StackSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StackParameters `json:"forProvider"`
}

StackSpec defines the desired state of Stack

func (*StackSpec) DeepCopy

func (in *StackSpec) DeepCopy() *StackSpec

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

func (*StackSpec) DeepCopyInto

func (in *StackSpec) DeepCopyInto(out *StackSpec)

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

type StackStatus

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

StackStatus defines the observed state of Stack.

func (*StackStatus) DeepCopy

func (in *StackStatus) DeepCopy() *StackStatus

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

func (*StackStatus) DeepCopyInto

func (in *StackStatus) DeepCopyInto(out *StackStatus)

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