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

The Stack data type.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
stack_id: Option<String>

Unique identifier of the stack.

stack_name: Option<String>

The name associated with the stack.

change_set_id: Option<String>

The unique ID of the change set.

description: Option<String>

A user-defined description associated with the stack.

parameters: Option<Vec<Parameter>>

A list of Parameter structures.

creation_time: Option<DateTime>

The time at which the stack was created.

deletion_time: Option<DateTime>

The time the stack was deleted.

last_updated_time: Option<DateTime>

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

rollback_configuration: Option<RollbackConfiguration>

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

stack_status: Option<StackStatus>

Current status of the stack.

stack_status_reason: Option<String>

Success/failure message associated with the stack status.

disable_rollback: Option<bool>

Boolean to enable or disable rollback on stack creation failures:

  • true: disable rollback.

  • false: enable rollback.

notification_ar_ns: Option<Vec<String>>

Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.

timeout_in_minutes: Option<i32>

The amount of time within which stack creation should complete.

capabilities: Option<Vec<Capability>>

The capabilities allowed in the stack.

outputs: Option<Vec<Output>>

A list of output structures.

role_arn: Option<String>

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

tags: Option<Vec<Tag>>

A list of Tags that specify information about the stack.

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 can't be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide.

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 CloudFormation User Guide.

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 CloudFormation User Guide.

drift_information: Option<StackDriftInformation>

Information about 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.

Implementations

Unique identifier of the stack.

The name associated with the stack.

The unique ID of the change set.

A user-defined description associated with the stack.

A list of Parameter structures.

The time at which the stack was created.

The time the stack was deleted.

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

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

Current status of the stack.

Success/failure message associated with the stack status.

Boolean to enable or disable rollback on stack creation failures:

  • true: disable rollback.

  • false: enable rollback.

Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.

The amount of time within which stack creation should complete.

The capabilities allowed in the stack.

A list of output structures.

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

A list of Tags that specify information about the stack.

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 Protecting a Stack From Being Deleted in the CloudFormation User Guide.

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 CloudFormation User Guide.

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 CloudFormation User Guide.

Information about 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.

Creates a new builder-style object to manufacture Stack.

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

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.

The resulting type after obtaining ownership.

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

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