Struct aws_sdk_cloudformation::model::StackSetSummary
source · #[non_exhaustive]pub struct StackSetSummary { /* private fields */ }Expand description
The structures that contain summary information about the specified stack set.
Implementations§
source§impl StackSetSummary
impl StackSetSummary
sourcepub fn stack_set_name(&self) -> Option<&str>
pub fn stack_set_name(&self) -> Option<&str>
The name of the stack set.
sourcepub fn stack_set_id(&self) -> Option<&str>
pub fn stack_set_id(&self) -> Option<&str>
The ID of the stack set.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the stack set that you specify when the stack set is created or updated.
sourcepub fn status(&self) -> Option<&StackSetStatus>
pub fn status(&self) -> Option<&StackSetStatus>
The status of the stack set.
sourcepub fn auto_deployment(&self) -> Option<&AutoDeployment>
pub fn auto_deployment(&self) -> Option<&AutoDeployment>
[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organizational unit (OU).
sourcepub fn permission_model(&self) -> Option<&PermissionModels>
pub fn permission_model(&self) -> Option<&PermissionModels>
Describes how the IAM roles required for stack set operations are created.
-
With
self-managedpermissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see Grant Self-Managed Stack Set Permissions. -
With
service-managedpermissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by Organizations. For more information, see Grant Service-Managed Stack Set Permissions.
sourcepub fn drift_status(&self) -> Option<&StackDriftStatus>
pub fn drift_status(&self) -> Option<&StackDriftStatus>
Status of the stack set's actual configuration compared to its expected template and parameter configuration. A stack set is considered to have drifted if one or more of its stack instances have drifted from their expected template and parameter configuration.
-
DRIFTED: One or more of the stack instances belonging to the stack set stack differs from the expected template and parameter configuration. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. -
NOT_CHECKED: CloudFormation hasn't checked the stack set for drift. -
IN_SYNC: All the stack instances belonging to the stack set stack match from the expected template and parameter configuration. -
UNKNOWN: This value is reserved for future use.
sourcepub fn last_drift_check_timestamp(&self) -> Option<&DateTime>
pub fn last_drift_check_timestamp(&self) -> Option<&DateTime>
Most recent time when CloudFormation performed a drift detection operation on the stack set. This value will be NULL for any stack set on which drift detection hasn't yet been performed.
sourcepub fn managed_execution(&self) -> Option<&ManagedExecution>
pub fn managed_execution(&self) -> Option<&ManagedExecution>
Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
source§impl StackSetSummary
impl StackSetSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StackSetSummary.
Examples found in repository?
9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173
pub fn deser_structure_crate_model_stack_set_summary(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::StackSetSummary, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::StackSetSummary::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("StackSetName") /* StackSetName com.amazonaws.cloudformation#StackSetSummary$StackSetName */ => {
let var_413 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_stack_set_name(var_413);
}
,
s if s.matches("StackSetId") /* StackSetId com.amazonaws.cloudformation#StackSetSummary$StackSetId */ => {
let var_414 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_stack_set_id(var_414);
}
,
s if s.matches("Description") /* Description com.amazonaws.cloudformation#StackSetSummary$Description */ => {
let var_415 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_description(var_415);
}
,
s if s.matches("Status") /* Status com.amazonaws.cloudformation#StackSetSummary$Status */ => {
let var_416 =
Some(
Result::<crate::model::StackSetStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::StackSetStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_status(var_416);
}
,
s if s.matches("AutoDeployment") /* AutoDeployment com.amazonaws.cloudformation#StackSetSummary$AutoDeployment */ => {
let var_417 =
Some(
crate::xml_deser::deser_structure_crate_model_auto_deployment(&mut tag)
?
)
;
builder = builder.set_auto_deployment(var_417);
}
,
s if s.matches("PermissionModel") /* PermissionModel com.amazonaws.cloudformation#StackSetSummary$PermissionModel */ => {
let var_418 =
Some(
Result::<crate::model::PermissionModels, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::PermissionModels::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_permission_model(var_418);
}
,
s if s.matches("DriftStatus") /* DriftStatus com.amazonaws.cloudformation#StackSetSummary$DriftStatus */ => {
let var_419 =
Some(
Result::<crate::model::StackDriftStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::StackDriftStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_drift_status(var_419);
}
,
s if s.matches("LastDriftCheckTimestamp") /* LastDriftCheckTimestamp com.amazonaws.cloudformation#StackSetSummary$LastDriftCheckTimestamp */ => {
let var_420 =
Some(
aws_smithy_types::DateTime::from_str(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
, aws_smithy_types::date_time::Format::DateTime
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.cloudformation#Timestamp`)"))
?
)
;
builder = builder.set_last_drift_check_timestamp(var_420);
}
,
s if s.matches("ManagedExecution") /* ManagedExecution com.amazonaws.cloudformation#StackSetSummary$ManagedExecution */ => {
let var_421 =
Some(
crate::xml_deser::deser_structure_crate_model_managed_execution(&mut tag)
?
)
;
builder = builder.set_managed_execution(var_421);
}
,
_ => {}
}
}
Ok(builder.build())
}Trait Implementations§
source§impl Clone for StackSetSummary
impl Clone for StackSetSummary
source§fn clone(&self) -> StackSetSummary
fn clone(&self) -> StackSetSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more