Struct aws_sdk_cloudformation::types::builders::StackSetBuilder
source · #[non_exhaustive]pub struct StackSetBuilder { /* private fields */ }
Expand description
A builder for StackSet
.
Implementations§
source§impl StackSetBuilder
impl StackSetBuilder
sourcepub fn stack_set_name(self, input: impl Into<String>) -> Self
pub fn stack_set_name(self, input: impl Into<String>) -> Self
The name that's associated with the stack set.
sourcepub fn set_stack_set_name(self, input: Option<String>) -> Self
pub fn set_stack_set_name(self, input: Option<String>) -> Self
The name that's associated with the stack set.
sourcepub fn get_stack_set_name(&self) -> &Option<String>
pub fn get_stack_set_name(&self) -> &Option<String>
The name that's associated with the stack set.
sourcepub fn stack_set_id(self, input: impl Into<String>) -> Self
pub fn stack_set_id(self, input: impl Into<String>) -> Self
The ID of the stack set.
sourcepub fn set_stack_set_id(self, input: Option<String>) -> Self
pub fn set_stack_set_id(self, input: Option<String>) -> Self
The ID of the stack set.
sourcepub fn get_stack_set_id(&self) -> &Option<String>
pub fn get_stack_set_id(&self) -> &Option<String>
The ID of the stack set.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the stack set that you specify when the stack set is created or updated.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the stack set that you specify when the stack set is created or updated.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the stack set that you specify when the stack set is created or updated.
sourcepub fn status(self, input: StackSetStatus) -> Self
pub fn status(self, input: StackSetStatus) -> Self
The status of the stack set.
sourcepub fn set_status(self, input: Option<StackSetStatus>) -> Self
pub fn set_status(self, input: Option<StackSetStatus>) -> Self
The status of the stack set.
sourcepub fn get_status(&self) -> &Option<StackSetStatus>
pub fn get_status(&self) -> &Option<StackSetStatus>
The status of the stack set.
sourcepub fn template_body(self, input: impl Into<String>) -> Self
pub fn template_body(self, input: impl Into<String>) -> Self
The structure that contains the body of the template that was used to create or update the stack set.
sourcepub fn set_template_body(self, input: Option<String>) -> Self
pub fn set_template_body(self, input: Option<String>) -> Self
The structure that contains the body of the template that was used to create or update the stack set.
sourcepub fn get_template_body(&self) -> &Option<String>
pub fn get_template_body(&self) -> &Option<String>
The structure that contains the body of the template that was used to create or update the stack set.
sourcepub fn parameters(self, input: Parameter) -> Self
pub fn parameters(self, input: Parameter) -> Self
Appends an item to parameters
.
To override the contents of this collection use set_parameters
.
A list of input parameters for a stack set.
sourcepub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
pub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
A list of input parameters for a stack set.
sourcepub fn get_parameters(&self) -> &Option<Vec<Parameter>>
pub fn get_parameters(&self) -> &Option<Vec<Parameter>>
A list of input parameters for a stack set.
sourcepub fn capabilities(self, input: Capability) -> Self
pub fn capabilities(self, input: Capability) -> Self
Appends an item to capabilities
.
To override the contents of this collection use set_capabilities
.
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.
sourcepub fn set_capabilities(self, input: Option<Vec<Capability>>) -> Self
pub fn set_capabilities(self, input: Option<Vec<Capability>>) -> Self
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.
sourcepub fn get_capabilities(&self) -> &Option<Vec<Capability>>
pub fn get_capabilities(&self) -> &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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.
A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.
A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.
sourcepub fn stack_set_arn(self, input: impl Into<String>) -> Self
pub fn stack_set_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the stack set.
sourcepub fn set_stack_set_arn(self, input: Option<String>) -> Self
pub fn set_stack_set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the stack set.
sourcepub fn get_stack_set_arn(&self) -> &Option<String>
pub fn get_stack_set_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the stack set.
sourcepub fn administration_role_arn(self, input: impl Into<String>) -> Self
pub fn administration_role_arn(self, input: impl Into<String>) -> Self
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 set_administration_role_arn(self, input: Option<String>) -> Self
pub fn set_administration_role_arn(self, input: Option<String>) -> Self
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 get_administration_role_arn(&self) -> &Option<String>
pub fn get_administration_role_arn(&self) -> &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.
sourcepub fn execution_role_name(self, input: impl Into<String>) -> Self
pub fn execution_role_name(self, input: impl Into<String>) -> Self
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 set_execution_role_name(self, input: Option<String>) -> Self
pub fn set_execution_role_name(self, input: Option<String>) -> Self
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 get_execution_role_name(&self) -> &Option<String>
pub fn get_execution_role_name(&self) -> &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.
sourcepub fn stack_set_drift_detection_details(
self,
input: StackSetDriftDetectionDetails
) -> Self
pub fn stack_set_drift_detection_details( self, input: StackSetDriftDetectionDetails ) -> Self
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 set_stack_set_drift_detection_details(
self,
input: Option<StackSetDriftDetectionDetails>
) -> Self
pub fn set_stack_set_drift_detection_details( self, input: Option<StackSetDriftDetectionDetails> ) -> Self
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 get_stack_set_drift_detection_details(
&self
) -> &Option<StackSetDriftDetectionDetails>
pub fn get_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, input: AutoDeployment) -> Self
pub fn auto_deployment(self, input: AutoDeployment) -> Self
[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU).
sourcepub fn set_auto_deployment(self, input: Option<AutoDeployment>) -> Self
pub fn set_auto_deployment(self, input: Option<AutoDeployment>) -> Self
[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU).
sourcepub fn get_auto_deployment(&self) -> &Option<AutoDeployment>
pub fn get_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, input: PermissionModels) -> Self
pub fn permission_model(self, input: PermissionModels) -> Self
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 set_permission_model(self, input: Option<PermissionModels>) -> Self
pub fn set_permission_model(self, input: Option<PermissionModels>) -> Self
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 get_permission_model(&self) -> &Option<PermissionModels>
pub fn get_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, input: impl Into<String>) -> Self
pub fn organizational_unit_ids(self, input: impl Into<String>) -> Self
Appends an item to organizational_unit_ids
.
To override the contents of this collection use set_organizational_unit_ids
.
[Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.
sourcepub fn set_organizational_unit_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_organizational_unit_ids(self, input: Option<Vec<String>>) -> Self
[Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.
sourcepub fn get_organizational_unit_ids(&self) -> &Option<Vec<String>>
pub fn get_organizational_unit_ids(&self) -> &Option<Vec<String>>
[Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.
sourcepub fn managed_execution(self, input: ManagedExecution) -> Self
pub fn managed_execution(self, input: ManagedExecution) -> Self
Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
sourcepub fn set_managed_execution(self, input: Option<ManagedExecution>) -> Self
pub fn set_managed_execution(self, input: Option<ManagedExecution>) -> Self
Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
sourcepub fn get_managed_execution(&self) -> &Option<ManagedExecution>
pub fn get_managed_execution(&self) -> &Option<ManagedExecution>
Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
sourcepub fn regions(self, input: impl Into<String>) -> Self
pub fn regions(self, input: impl Into<String>) -> Self
Appends an item to regions
.
To override the contents of this collection use set_regions
.
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.
sourcepub fn set_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_regions(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_regions(&self) -> &Option<Vec<String>>
pub fn get_regions(&self) -> &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.
Trait Implementations§
source§impl Clone for StackSetBuilder
impl Clone for StackSetBuilder
source§fn clone(&self) -> StackSetBuilder
fn clone(&self) -> StackSetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StackSetBuilder
impl Debug for StackSetBuilder
source§impl Default for StackSetBuilder
impl Default for StackSetBuilder
source§fn default() -> StackSetBuilder
fn default() -> StackSetBuilder
source§impl PartialEq for StackSetBuilder
impl PartialEq for StackSetBuilder
source§fn eq(&self, other: &StackSetBuilder) -> bool
fn eq(&self, other: &StackSetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackSetBuilder
Auto Trait Implementations§
impl Freeze for StackSetBuilder
impl RefUnwindSafe for StackSetBuilder
impl Send for StackSetBuilder
impl Sync for StackSetBuilder
impl Unpin for StackSetBuilder
impl UnwindSafe for StackSetBuilder
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