aws_cloudformation_stack_set

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AdministrationRoleArn: string, optional
	AdministrationRoleArn terra.StringValue `hcl:"administration_role_arn,attr"`
	// CallAs: string, optional
	CallAs terra.StringValue `hcl:"call_as,attr"`
	// Capabilities: set of string, optional
	Capabilities terra.SetValue[terra.StringValue] `hcl:"capabilities,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// ExecutionRoleName: string, optional
	ExecutionRoleName terra.StringValue `hcl:"execution_role_name,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parameters: map of string, optional
	Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"`
	// PermissionModel: string, optional
	PermissionModel terra.StringValue `hcl:"permission_model,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// TemplateBody: string, optional
	TemplateBody terra.StringValue `hcl:"template_body,attr"`
	// TemplateUrl: string, optional
	TemplateUrl terra.StringValue `hcl:"template_url,attr"`
	// AutoDeployment: optional
	AutoDeployment *AutoDeployment `hcl:"auto_deployment,block"`
	// ManagedExecution: optional
	ManagedExecution *ManagedExecution `hcl:"managed_execution,block"`
	// OperationPreferences: optional
	OperationPreferences *OperationPreferences `hcl:"operation_preferences,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_cloudformation_stack_set.

type AutoDeployment

type AutoDeployment struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// RetainStacksOnAccountRemoval: bool, optional
	RetainStacksOnAccountRemoval terra.BoolValue `hcl:"retain_stacks_on_account_removal,attr"`
}

type AutoDeploymentAttributes

type AutoDeploymentAttributes struct {
	// contains filtered or unexported fields
}

func (AutoDeploymentAttributes) Enabled

func (AutoDeploymentAttributes) InternalRef

func (ad AutoDeploymentAttributes) InternalRef() (terra.Reference, error)

func (AutoDeploymentAttributes) InternalTokens

func (ad AutoDeploymentAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoDeploymentAttributes) InternalWithRef

func (AutoDeploymentAttributes) RetainStacksOnAccountRemoval

func (ad AutoDeploymentAttributes) RetainStacksOnAccountRemoval() terra.BoolValue

type AutoDeploymentState

type AutoDeploymentState struct {
	Enabled                      bool `json:"enabled"`
	RetainStacksOnAccountRemoval bool `json:"retain_stacks_on_account_removal"`
}

type ManagedExecution

type ManagedExecution struct {
	// Active: bool, optional
	Active terra.BoolValue `hcl:"active,attr"`
}

type ManagedExecutionAttributes

type ManagedExecutionAttributes struct {
	// contains filtered or unexported fields
}

func (ManagedExecutionAttributes) Active

func (ManagedExecutionAttributes) InternalRef

func (me ManagedExecutionAttributes) InternalRef() (terra.Reference, error)

func (ManagedExecutionAttributes) InternalTokens

func (me ManagedExecutionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ManagedExecutionAttributes) InternalWithRef

type ManagedExecutionState

type ManagedExecutionState struct {
	Active bool `json:"active"`
}

type OperationPreferences

type OperationPreferences struct {
	// FailureToleranceCount: number, optional
	FailureToleranceCount terra.NumberValue `hcl:"failure_tolerance_count,attr"`
	// FailureTolerancePercentage: number, optional
	FailureTolerancePercentage terra.NumberValue `hcl:"failure_tolerance_percentage,attr"`
	// MaxConcurrentCount: number, optional
	MaxConcurrentCount terra.NumberValue `hcl:"max_concurrent_count,attr"`
	// MaxConcurrentPercentage: number, optional
	MaxConcurrentPercentage terra.NumberValue `hcl:"max_concurrent_percentage,attr"`
	// RegionConcurrencyType: string, optional
	RegionConcurrencyType terra.StringValue `hcl:"region_concurrency_type,attr"`
	// RegionOrder: list of string, optional
	RegionOrder terra.ListValue[terra.StringValue] `hcl:"region_order,attr"`
}

type OperationPreferencesAttributes

type OperationPreferencesAttributes struct {
	// contains filtered or unexported fields
}

func (OperationPreferencesAttributes) FailureToleranceCount

func (op OperationPreferencesAttributes) FailureToleranceCount() terra.NumberValue

func (OperationPreferencesAttributes) FailureTolerancePercentage

func (op OperationPreferencesAttributes) FailureTolerancePercentage() terra.NumberValue

func (OperationPreferencesAttributes) InternalRef

func (OperationPreferencesAttributes) InternalTokens

func (op OperationPreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OperationPreferencesAttributes) InternalWithRef

func (OperationPreferencesAttributes) MaxConcurrentCount

func (op OperationPreferencesAttributes) MaxConcurrentCount() terra.NumberValue

func (OperationPreferencesAttributes) MaxConcurrentPercentage

func (op OperationPreferencesAttributes) MaxConcurrentPercentage() terra.NumberValue

func (OperationPreferencesAttributes) RegionConcurrencyType

func (op OperationPreferencesAttributes) RegionConcurrencyType() terra.StringValue

func (OperationPreferencesAttributes) RegionOrder

type OperationPreferencesState

type OperationPreferencesState struct {
	FailureToleranceCount      float64  `json:"failure_tolerance_count"`
	FailureTolerancePercentage float64  `json:"failure_tolerance_percentage"`
	MaxConcurrentCount         float64  `json:"max_concurrent_count"`
	MaxConcurrentPercentage    float64  `json:"max_concurrent_percentage"`
	RegionConcurrencyType      string   `json:"region_concurrency_type"`
	RegionOrder                []string `json:"region_order"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_cloudformation_stack_set.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acss *Resource) Attributes() awsCloudformationStackSetAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (acss *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (acss *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (acss *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (acss *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (acss *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acss *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acss *Resource) State() (*awsCloudformationStackSetState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (acss *Resource) StateMust() *awsCloudformationStackSetState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (acss *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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