Struct aws_sdk_cloudformation::types::StackSet
source · #[non_exhaustive]pub struct StackSet {Show 17 fields
pub stack_set_name: Option<String>,
pub stack_set_id: Option<String>,
pub description: Option<String>,
pub status: Option<StackSetStatus>,
pub template_body: Option<String>,
pub parameters: Option<Vec<Parameter>>,
pub capabilities: Option<Vec<Capability>>,
pub tags: Option<Vec<Tag>>,
pub stack_set_arn: Option<String>,
pub administration_role_arn: Option<String>,
pub execution_role_name: Option<String>,
pub stack_set_drift_detection_details: Option<StackSetDriftDetectionDetails>,
pub auto_deployment: Option<AutoDeployment>,
pub permission_model: Option<PermissionModels>,
pub organizational_unit_ids: Option<Vec<String>>,
pub managed_execution: Option<ManagedExecution>,
pub regions: Option<Vec<String>>,
}
Expand description
A structure that contains information about a stack set. A stack set enables you to provision stacks into Amazon Web Services accounts and across Regions by using a single CloudFormation template. In the stack set, you specify the template to use, in addition to any parameters and capabilities that the template requires.
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.stack_set_name: Option<String>
The name that's associated with the stack set.
stack_set_id: Option<String>
The ID of the stack set.
description: Option<String>
A description of the stack set that you specify when the stack set is created or updated.
status: Option<StackSetStatus>
The status of the stack set.
template_body: Option<String>
The structure that contains the body of the template that was used to create or update the stack set.
parameters: Option<Vec<Parameter>>
A list of input parameters for a stack set.
capabilities: Option<Vec<Capability>>
The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in CloudFormation Templates.
A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.
stack_set_arn: Option<String>
The Amazon Resource Name (ARN) of the stack set.
administration_role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM role used to create or update the stack set.
Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations in the CloudFormation User Guide.
execution_role_name: Option<String>
The name of the IAM execution role used to create or update the stack set.
Use customized execution roles to control which stack resources users and groups can include in their stack sets.
stack_set_drift_detection_details: Option<StackSetDriftDetectionDetails>
Detailed information about the drift status of the stack set.
For stack sets, contains information about the last completed drift operation performed on the stack set. Information about drift operations currently in progress isn't included.
auto_deployment: Option<AutoDeployment>
[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU).
permission_model: Option<PermissionModels>
Describes how the IAM roles required for stack set operations are created.
-
With
self-managed
permissions, 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-managed
permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by Organizations. For more information, see Grant Service-Managed Stack Set Permissions.
organizational_unit_ids: Option<Vec<String>>
[Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.
managed_execution: Option<ManagedExecution>
Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
regions: Option<Vec<String>>
Returns a list of all Amazon Web Services Regions the given StackSet has stack instances deployed in. The Amazon Web Services Regions list output is in no particular order.
Implementations§
source§impl StackSet
impl StackSet
sourcepub fn stack_set_name(&self) -> Option<&str>
pub fn stack_set_name(&self) -> Option<&str>
The name that's associated with 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 template_body(&self) -> Option<&str>
pub fn template_body(&self) -> Option<&str>
The structure that contains the body of the template that was used to create or update the stack set.
sourcepub fn parameters(&self) -> &[Parameter]
pub fn parameters(&self) -> &[Parameter]
A list of input parameters for a stack set.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters.is_none()
.
sourcepub fn capabilities(&self) -> &[Capability]
pub fn capabilities(&self) -> &[Capability]
The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your Amazon Web Services account—for example, by creating new Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in CloudFormation Templates.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .capabilities.is_none()
.
A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn stack_set_arn(&self) -> Option<&str>
pub fn stack_set_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the stack set.
sourcepub fn administration_role_arn(&self) -> Option<&str>
pub fn administration_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role used to create or update the stack set.
Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations in the CloudFormation User Guide.
sourcepub fn execution_role_name(&self) -> Option<&str>
pub fn execution_role_name(&self) -> Option<&str>
The name of the IAM execution role used to create or update the stack set.
Use customized execution roles to control which stack resources users and groups can include in their stack sets.
sourcepub fn stack_set_drift_detection_details(
&self
) -> Option<&StackSetDriftDetectionDetails>
pub fn stack_set_drift_detection_details( &self ) -> Option<&StackSetDriftDetectionDetails>
Detailed information about the drift status of the stack set.
For stack sets, contains information about the last completed drift operation performed on the stack set. Information about drift operations currently in progress isn't included.
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 organization or 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-managed
permissions, 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-managed
permissions, 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 organizational_unit_ids(&self) -> &[String]
pub fn organizational_unit_ids(&self) -> &[String]
[Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .organizational_unit_ids.is_none()
.
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.
sourcepub fn regions(&self) -> &[String]
pub fn regions(&self) -> &[String]
Returns a list of all Amazon Web Services Regions the given StackSet has stack instances deployed in. The Amazon Web Services Regions list output is in no particular order.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .regions.is_none()
.
Trait Implementations§
source§impl PartialEq for StackSet
impl PartialEq for StackSet
impl StructuralPartialEq for StackSet
Auto Trait Implementations§
impl Freeze for StackSet
impl RefUnwindSafe for StackSet
impl Send for StackSet
impl Sync for StackSet
impl Unpin for StackSet
impl UnwindSafe for StackSet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more