class
Amazonite::CloudFormation::Stack
- Amazonite::CloudFormation::Stack
- Reference
- Object
Overview
The Stack data type.
Defined in:
cloudformation/stack.crConstructors
- .from_xml(node : XML::Node) : self
- .new(stack_name : String, creation_time : Time, stack_status : StackStatus, stack_id : String | Nil = nil, change_set_id : String | Nil = nil, description : String | Nil = nil, parameters : Array(Parameter) | Nil = nil, deletion_time : Time | Nil = nil, last_updated_time : Time | Nil = nil, rollback_configuration : RollbackConfiguration | Nil = nil, stack_status_reason : String | Nil = nil, disable_rollback : Bool | Nil = nil, deployment_config : DeploymentConfig | Nil = nil, notification_ar_ns : Array(String) | Nil = nil, timeout_in_minutes : Int32 | Nil = nil, capabilities : Array(Capability) | Nil = nil, outputs : Array(Output) | Nil = nil, role_arn : String | Nil = nil, tags : Array(Tag) | Nil = nil, enable_termination_protection : Bool | Nil = nil, parent_id : String | Nil = nil, root_id : String | Nil = nil, drift_information : StackDriftInformation | Nil = nil, retain_except_on_create : Bool | Nil = nil, deletion_mode : DeletionMode | Nil = nil, detailed_status : DetailedStatus | Nil = nil, last_operations : Array(OperationEntry) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#capabilities : Array(Capability) | Nil
The capabilities allowed in the stack.
-
#capabilities=(capabilities : Array(Capability) | Nil)
The capabilities allowed in the stack.
-
#change_set_id : String | Nil
The unique ID of the change set.
-
#change_set_id=(change_set_id : String | Nil)
The unique ID of the change set.
-
#creation_time : Time
The time at which the stack was created.
-
#creation_time=(creation_time : Time)
The time at which the stack was created.
-
#deletion_mode : DeletionMode | Nil
Specifies the deletion mode for the stack.
-
#deletion_mode=(deletion_mode : DeletionMode | Nil)
Specifies the deletion mode for the stack.
-
#deletion_time : Time | Nil
The time the stack was deleted.
-
#deletion_time=(deletion_time : Time | Nil)
The time the stack was deleted.
-
#deployment_config : DeploymentConfig | Nil
The deployment configuration for the stack, including the deployment mode used for stack operations.
-
#deployment_config=(deployment_config : DeploymentConfig | Nil)
The deployment configuration for the stack, including the deployment mode used for stack operations.
-
#description : String | Nil
A user-defined description associated with the stack.
-
#description=(description : String | Nil)
A user-defined description associated with the stack.
-
#detailed_status : DetailedStatus | Nil
The detailed status of the resource or stack.
-
#detailed_status=(detailed_status : DetailedStatus | Nil)
The detailed status of the resource or stack.
-
#disable_rollback : Bool | Nil
Boolean to enable or disable rollback on stack creation failures:
-
#disable_rollback=(disable_rollback : Bool | Nil)
Boolean to enable or disable rollback on stack creation failures:
-
#drift_information : StackDriftInformation | Nil
Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.
-
#drift_information=(drift_information : StackDriftInformation | Nil)
Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters.
-
#enable_termination_protection : Bool | Nil
Whether termination protection is enabled for the stack.
-
#enable_termination_protection=(enable_termination_protection : Bool | Nil)
Whether termination protection is enabled for the stack.
-
#hash(hasher)
See
Object#hash(hasher) -
#last_operations : Array(OperationEntry) | Nil
Information about the most recent operations performed on this stack.
-
#last_operations=(last_operations : Array(OperationEntry) | Nil)
Information about the most recent operations performed on this stack.
-
#last_updated_time : Time | Nil
The time the stack was last updated.
-
#last_updated_time=(last_updated_time : Time | Nil)
The time the stack was last updated.
-
#notification_ar_ns : Array(String) | Nil
Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.
-
#notification_ar_ns=(notification_ar_ns : Array(String) | Nil)
Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.
-
#outputs : Array(Output) | Nil
A list of output structures.
-
#outputs=(outputs : Array(Output) | Nil)
A list of output structures.
-
#parameters : Array(Parameter) | Nil
A list of
Parameterstructures. -
#parameters=(parameters : Array(Parameter) | Nil)
A list of
Parameterstructures. -
#parent_id : String | Nil
For nested stacks, the stack ID of the direct parent of this stack.
-
#parent_id=(parent_id : String | Nil)
For nested stacks, the stack ID of the direct parent of this stack.
-
#retain_except_on_create : Bool | Nil
When set to
true, newly created resources are deleted when the operation rolls back. -
#retain_except_on_create=(retain_except_on_create : Bool | Nil)
When set to
true, newly created resources are deleted when the operation rolls back. -
#role_arn : String | Nil
The Amazon Resource Name (ARN) of an IAM role that's associated with the stack.
-
#role_arn=(role_arn : String | Nil)
The Amazon Resource Name (ARN) of an IAM role that's associated with the stack.
-
#rollback_configuration : RollbackConfiguration | Nil
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
-
#rollback_configuration=(rollback_configuration : RollbackConfiguration | Nil)
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
-
#root_id : String | Nil
For nested stacks, the stack ID of the top-level stack to which the nested stack ultimately belongs.
-
#root_id=(root_id : String | Nil)
For nested stacks, the stack ID of the top-level stack to which the nested stack ultimately belongs.
-
#stack_id : String | Nil
Unique identifier of the stack.
-
#stack_id=(stack_id : String | Nil)
Unique identifier of the stack.
-
#stack_name : String
The name associated with the stack.
-
#stack_name=(stack_name : String)
The name associated with the stack.
-
#stack_status : StackStatus
Current status of the stack.
-
#stack_status=(stack_status : StackStatus)
Current status of the stack.
-
#stack_status_reason : String | Nil
Success/failure message associated with the stack status.
-
#stack_status_reason=(stack_status_reason : String | Nil)
Success/failure message associated with the stack status.
-
#tags : Array(Tag) | Nil
A list of
Tags that specify information about the stack. -
#tags=(tags : Array(Tag) | Nil)
A list of
Tags that specify information about the stack. -
#timeout_in_minutes : Int32 | Nil
The amount of time within which stack creation should complete.
-
#timeout_in_minutes=(timeout_in_minutes : Int32 | Nil)
The amount of time within which stack creation should complete.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Specifies the deletion mode for the stack. Possible values are:
-
STANDARD- Use the standard behavior. Specifying this value is the same as not specifying this parameter. -
FORCE_DELETE_STACK- Delete the stack if it's stuck in aDELETE_FAILEDstate due to resource deletion failure.
Specifies the deletion mode for the stack. Possible values are:
-
STANDARD- Use the standard behavior. Specifying this value is the same as not specifying this parameter. -
FORCE_DELETE_STACK- Delete the stack if it's stuck in aDELETE_FAILEDstate due to resource deletion failure.
The deployment configuration for the stack, including the deployment mode used for stack operations.
The deployment configuration for the stack, including the deployment mode used for stack operations.
A user-defined description associated with the stack.
The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the
resource or resource configuration phase has completed and the stabilization of the resources is
in progress. The StackSets CONFIGURATION_COMPLETE when all of the resources in the stack have
reached that event. For more information, see Understand CloudFormation stack creation
events
in the CloudFormation User Guide.
The detailed status of the resource or stack. If CONFIGURATION_COMPLETE is present, the
resource or resource configuration phase has completed and the stabilization of the resources is
in progress. The StackSets CONFIGURATION_COMPLETE when all of the resources in the stack have
reached that event. For more information, see Understand CloudFormation stack creation
events
in the CloudFormation User Guide.
Boolean to enable or disable rollback on stack creation failures:
-
true: disable rollback. -
false: enable rollback.
Boolean to enable or disable rollback on stack creation failures:
-
true: disable rollback. -
false: enable rollback.
Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.
Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.
Whether termination protection is enabled for the stack.
For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide.
Whether termination protection is enabled for the stack.
For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. For more information, see Protect a CloudFormation stack from being deleted in the CloudFormation User Guide.
Information about the most recent operations performed on this stack.
Information about the most recent operations performed on this stack.
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.
Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.
A list of Parameter structures.
For nested stacks, the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.
For more information, see Nested stacks in the CloudFormation User Guide.
For nested stacks, the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.
For more information, see Nested stacks in the CloudFormation User Guide.
When set to true, newly created resources are deleted when the operation rolls back. This
includes newly created resources marked with a deletion policy of Retain.
Default: false
When set to true, newly created resources are deleted when the operation rolls back. This
includes newly created resources marked with a deletion policy of Retain.
Default: false
The Amazon Resource Name (ARN) of an IAM role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.
The Amazon Resource Name (ARN) of an IAM role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf.
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
For nested stacks, the stack ID of the top-level stack to which the nested stack ultimately belongs.
For more information, see Nested stacks in the CloudFormation User Guide.
For nested stacks, the stack ID of the top-level stack to which the nested stack ultimately belongs.
For more information, see Nested stacks in the CloudFormation User Guide.
Success/failure message associated with the stack status.
A list of Tags that specify information about the stack.
A list of Tags that specify information about the stack.
The amount of time within which stack creation should complete.
The amount of time within which stack creation should complete.