Paws::CloudFormation::DeleteStackInstances - Arguments for method DeleteStackInstances on Paws::CloudFormation


This class represents the parameters used for calling the method DeleteStackInstances on the AWS CloudFormation service. Use the attributes of this class as arguments to method DeleteStackInstances.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteStackInstances.


    my $cloudformation = Paws->service('CloudFormation');
    my $DeleteStackInstancesOutput = $cloudformation->DeleteStackInstances(
      Accounts     => [ 'MyAccount', ... ],
      Regions      => [ 'MyRegion',  ... ],
      RetainStacks => 1,
      StackSetName => 'MyStackSetName',
      OperationId          => 'MyClientRequestToken',    # OPTIONAL
      OperationPreferences => {
        FailureToleranceCount      => 1,    # OPTIONAL
        FailureTolerancePercentage => 1,    # max: 100; OPTIONAL
        MaxConcurrentCount         => 1,    # min: 1; OPTIONAL
        MaxConcurrentPercentage    => 1,    # min: 1, max: 100; OPTIONAL
        RegionOrder => [ 'MyRegion', ... ],
      },    # OPTIONAL

    # Results:
    my $OperationId = $DeleteStackInstancesOutput->OperationId;

    # Returns a L<Paws::CloudFormation::DeleteStackInstancesOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED Accounts => ArrayRef[Str|Undef]

The names of the AWS accounts that you want to delete stack instances for.

OperationId => Str

The unique identifier for this stack set operation.

If you don't specify an operation ID, the SDK generates one automatically.

The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You can retry stack set operation requests to ensure that AWS CloudFormation successfully received them.

Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED.

OperationPreferences => Paws::CloudFormation::StackSetOperationPreferences

Preferences for how AWS CloudFormation performs this stack set operation.

REQUIRED Regions => ArrayRef[Str|Undef]

The regions where you want to delete stack set instances.

REQUIRED RetainStacks => Bool

Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

For more information, see Stack set operation options (

REQUIRED StackSetName => Str

The name or unique ID of the stack set that you want to delete stack instances for.


This class forms part of Paws, documenting arguments for method DeleteStackInstances in Paws::CloudFormation


The source code is located here:

Please report bugs to: