#[non_exhaustive]
pub struct StackSetBuilder { /* private fields */ }
Expand description

A builder for StackSet.

Implementations§

source§

impl StackSetBuilder

source

pub fn stack_set_name(self, input: impl Into<String>) -> Self

The name that's associated with the stack set.

source

pub fn set_stack_set_name(self, input: Option<String>) -> Self

The name that's associated with the stack set.

source

pub fn get_stack_set_name(&self) -> &Option<String>

The name that's associated with the stack set.

source

pub fn stack_set_id(self, input: impl Into<String>) -> Self

The ID of the stack set.

source

pub fn set_stack_set_id(self, input: Option<String>) -> Self

The ID of the stack set.

source

pub fn get_stack_set_id(&self) -> &Option<String>

The ID of the stack set.

source

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.

source

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.

source

pub fn get_description(&self) -> &Option<String>

A description of the stack set that you specify when the stack set is created or updated.

source

pub fn status(self, input: StackSetStatus) -> Self

The status of the stack set.

source

pub fn set_status(self, input: Option<StackSetStatus>) -> Self

The status of the stack set.

source

pub fn get_status(&self) -> &Option<StackSetStatus>

The status of the stack set.

source

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.

source

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.

source

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.

source

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.

source

pub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self

A list of input parameters for a stack set.

source

pub fn get_parameters(&self) -> &Option<Vec<Parameter>>

A list of input parameters for a stack set.

source

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.

source

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.

source

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.

source

pub fn tags(self, input: Tag) -> Self

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.

source

pub fn set_tags(self, input: Option<Vec<Tag>>) -> Self

A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.

source

pub fn get_tags(&self) -> &Option<Vec<Tag>>

A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.

source

pub fn stack_set_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the stack set.

source

pub fn set_stack_set_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the stack set.

source

pub fn get_stack_set_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the stack set.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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).

source

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).

source

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).

source

pub fn permission_model(self, input: PermissionModels) -> Self

Describes how the IAM roles required for stack set operations are created.

source

pub fn set_permission_model(self, input: Option<PermissionModels>) -> Self

Describes how the IAM roles required for stack set operations are created.

source

pub fn get_permission_model(&self) -> &Option<PermissionModels>

Describes how the IAM roles required for stack set operations are created.

source

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.

source

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.

source

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.

source

pub fn managed_execution(self, input: ManagedExecution) -> Self

Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.

source

pub fn set_managed_execution(self, input: Option<ManagedExecution>) -> Self

Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.

source

pub fn get_managed_execution(&self) -> &Option<ManagedExecution>

Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.

source

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.

source

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.

source

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.

source

pub fn build(self) -> StackSet

Consumes the builder and constructs a StackSet.

Trait Implementations§

source§

impl Clone for StackSetBuilder

source§

fn clone(&self) -> StackSetBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StackSetBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for StackSetBuilder

source§

fn default() -> StackSetBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for StackSetBuilder

source§

fn eq(&self, other: &StackSetBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for StackSetBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more