#[non_exhaustive]pub struct AwsCloudFormationStackDetails {Show 15 fields
pub capabilities: Option<Vec<String>>,
pub creation_time: Option<String>,
pub description: Option<String>,
pub disable_rollback: bool,
pub drift_information: Option<AwsCloudFormationStackDriftInformationDetails>,
pub enable_termination_protection: bool,
pub last_updated_time: Option<String>,
pub notification_arns: Option<Vec<String>>,
pub outputs: Option<Vec<AwsCloudFormationStackOutputsDetails>>,
pub role_arn: Option<String>,
pub stack_id: Option<String>,
pub stack_name: Option<String>,
pub stack_status: Option<String>,
pub stack_status_reason: Option<String>,
pub timeout_in_minutes: i32,
}
Expand description
Nests a stack as a resource in a top-level template. Nested stacks are stacks created as resources for another stack.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.capabilities: Option<Vec<String>>
The capabilities allowed in the stack.
creation_time: Option<String>
The time at which the stack was created.
description: Option<String>
A user-defined description associated with the stack.
disable_rollback: bool
Boolean to enable or disable rollback on stack creation failures.
drift_information: Option<AwsCloudFormationStackDriftInformationDetails>
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
Whether termination protection is enabled for the stack.
last_updated_time: Option<String>
The time the nested stack was last updated. This field will only be returned if the stack has been updated at least once.
notification_arns: Option<Vec<String>>
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
outputs: Option<Vec<AwsCloudFormationStackOutputsDetails>>
A list of output structures.
role_arn: Option<String>
The ARN of an IAM role that's associated with the stack.
stack_id: Option<String>
Unique identifier of the stack.
stack_name: Option<String>
The name associated with the stack.
stack_status: Option<String>
Current status of the stack.
stack_status_reason: Option<String>
Success or failure message associated with the stack status.
timeout_in_minutes: i32
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the CREATE_COMPLETE
state.
Implementations§
source§impl AwsCloudFormationStackDetails
impl AwsCloudFormationStackDetails
sourcepub fn capabilities(&self) -> Option<&[String]>
pub fn capabilities(&self) -> Option<&[String]>
The capabilities allowed in the stack.
sourcepub fn creation_time(&self) -> Option<&str>
pub fn creation_time(&self) -> Option<&str>
The time at which the stack was created.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A user-defined description associated with the stack.
sourcepub fn disable_rollback(&self) -> bool
pub fn disable_rollback(&self) -> bool
Boolean to enable or disable rollback on stack creation failures.
sourcepub fn drift_information(
&self
) -> Option<&AwsCloudFormationStackDriftInformationDetails>
pub fn drift_information( &self ) -> Option<&AwsCloudFormationStackDriftInformationDetails>
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.
sourcepub fn enable_termination_protection(&self) -> bool
pub fn enable_termination_protection(&self) -> bool
Whether termination protection is enabled for the stack.
sourcepub fn last_updated_time(&self) -> Option<&str>
pub fn last_updated_time(&self) -> Option<&str>
The time the nested stack was last updated. This field will only be returned if the stack has been updated at least once.
sourcepub fn notification_arns(&self) -> Option<&[String]>
pub fn notification_arns(&self) -> Option<&[String]>
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
sourcepub fn outputs(&self) -> Option<&[AwsCloudFormationStackOutputsDetails]>
pub fn outputs(&self) -> Option<&[AwsCloudFormationStackOutputsDetails]>
A list of output structures.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of an IAM role that's associated with the stack.
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name associated with the stack.
sourcepub fn stack_status(&self) -> Option<&str>
pub fn stack_status(&self) -> Option<&str>
Current status of the stack.
sourcepub fn stack_status_reason(&self) -> Option<&str>
pub fn stack_status_reason(&self) -> Option<&str>
Success or failure message associated with the stack status.
sourcepub fn timeout_in_minutes(&self) -> i32
pub fn timeout_in_minutes(&self) -> i32
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the CREATE_COMPLETE
state.
source§impl AwsCloudFormationStackDetails
impl AwsCloudFormationStackDetails
sourcepub fn builder() -> AwsCloudFormationStackDetailsBuilder
pub fn builder() -> AwsCloudFormationStackDetailsBuilder
Creates a new builder-style object to manufacture AwsCloudFormationStackDetails
.
Trait Implementations§
source§impl Clone for AwsCloudFormationStackDetails
impl Clone for AwsCloudFormationStackDetails
source§fn clone(&self) -> AwsCloudFormationStackDetails
fn clone(&self) -> AwsCloudFormationStackDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsCloudFormationStackDetails
impl PartialEq for AwsCloudFormationStackDetails
source§fn eq(&self, other: &AwsCloudFormationStackDetails) -> bool
fn eq(&self, other: &AwsCloudFormationStackDetails) -> bool
self
and other
values to be equal, and is used
by ==
.