logo
pub struct Stack {
Show 22 fields pub capabilities: Option<Vec<String>>, pub change_set_id: Option<String>, pub creation_time: String, pub deletion_time: Option<String>, pub description: Option<String>, pub disable_rollback: Option<bool>, pub drift_information: Option<StackDriftInformation>, pub enable_termination_protection: Option<bool>, pub last_updated_time: Option<String>, pub notification_ar_ns: Option<Vec<String>>, pub outputs: Option<Vec<Output>>, pub parameters: Option<Vec<Parameter>>, pub parent_id: Option<String>, pub role_arn: Option<String>, pub rollback_configuration: Option<RollbackConfiguration>, pub root_id: Option<String>, pub stack_id: Option<String>, pub stack_name: String, pub stack_status: String, pub stack_status_reason: Option<String>, pub tags: Option<Vec<Tag>>, pub timeout_in_minutes: Option<i64>,
}
Expand description

The Stack data type.

Fields

capabilities: Option<Vec<String>>

The capabilities allowed in the stack.

change_set_id: Option<String>

The unique ID of the change set.

creation_time: String

The time at which the stack was created.

deletion_time: Option<String>

The time the stack was deleted.

description: Option<String>

A user-defined description associated with the stack.

disable_rollback: Option<bool>

Boolean to enable or disable rollback on stack creation failures:

  • true: disable rollback

  • false: enable rollback

drift_information: Option<StackDriftInformation>

Information on whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

enable_termination_protection: Option<bool>

Whether termination protection is enabled for the stack.

For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the AWS CloudFormation User Guide.

last_updated_time: Option<String>

The time the stack was last updated. This field will only be returned if the stack has been updated at least once.

notification_ar_ns: Option<Vec<String>>

SNS topic ARNs to which stack related events are published.

outputs: Option<Vec<Output>>

A list of output structures.

parameters: Option<Vec<Parameter>>

A list of Parameter structures.

parent_id: Option<String>

For nested stacks--stacks created as resources for another stack--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 Working with Nested Stacks in the AWS CloudFormation User Guide.

role_arn: Option<String>

The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that is associated with the stack. During a stack operation, AWS CloudFormation uses this role's credentials to make calls on your behalf.

rollback_configuration: Option<RollbackConfiguration>

The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.

root_id: Option<String>

For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.

For more information, see Working with Nested Stacks in the AWS CloudFormation User Guide.

stack_id: Option<String>

Unique identifier of the stack.

stack_name: String

The name associated with the stack.

stack_status: String

Current status of the stack.

stack_status_reason: Option<String>

Success/failure message associated with the stack status.

tags: Option<Vec<Tag>>

A list of Tags that specify information about the stack.

timeout_in_minutes: Option<i64>

The amount of time within which stack creation should complete.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more