Struct aws_sdk_cloudformation::model::Stack
source · [−]#[non_exhaustive]pub struct Stack { /* private fields */ }Expand description
The Stack data type.
Implementations
sourceimpl Stack
impl Stack
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name associated with the stack.
sourcepub fn change_set_id(&self) -> Option<&str>
pub fn change_set_id(&self) -> Option<&str>
The unique ID of the change set.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A user-defined description associated with the stack.
sourcepub fn parameters(&self) -> Option<&[Parameter]>
pub fn parameters(&self) -> Option<&[Parameter]>
A list of Parameter structures.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time at which the stack was created.
sourcepub fn deletion_time(&self) -> Option<&DateTime>
pub fn deletion_time(&self) -> Option<&DateTime>
The time the stack was deleted.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
sourcepub fn rollback_configuration(&self) -> Option<&RollbackConfiguration>
pub fn rollback_configuration(&self) -> Option<&RollbackConfiguration>
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
sourcepub fn stack_status(&self) -> Option<&StackStatus>
pub fn stack_status(&self) -> Option<&StackStatus>
Current status of the stack.
sourcepub fn stack_status_reason(&self) -> Option<&str>
pub fn stack_status_reason(&self) -> Option<&str>
Success/failure message associated with the stack status.
sourcepub fn disable_rollback(&self) -> Option<bool>
pub fn disable_rollback(&self) -> Option<bool>
Boolean to enable or disable rollback on stack creation failures:
-
true: disable rollback. -
false: enable rollback.
sourcepub fn notification_ar_ns(&self) -> Option<&[String]>
pub fn notification_ar_ns(&self) -> Option<&[String]>
Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published.
sourcepub fn timeout_in_minutes(&self) -> Option<i32>
pub fn timeout_in_minutes(&self) -> Option<i32>
The amount of time within which stack creation should complete.
sourcepub fn capabilities(&self) -> Option<&[Capability]>
pub fn capabilities(&self) -> Option<&[Capability]>
The capabilities allowed in the stack.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
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.
sourcepub fn enable_termination_protection(&self) -> Option<bool>
pub fn enable_termination_protection(&self) -> 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.
sourcepub fn parent_id(&self) -> Option<&str>
pub fn parent_id(&self) -> Option<&str>
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.
sourcepub fn root_id(&self) -> Option<&str>
pub fn root_id(&self) -> Option<&str>
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.
sourcepub fn drift_information(&self) -> Option<&StackDriftInformation>
pub fn drift_information(&self) -> 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.