stop_stack_set_operation
(**kwargs)¶Stops an in-progress operation on a stack set and its associated stack instances. StackSets will cancel all the unstarted stack instance deployments and wait for those are in-progress to complete.
See also: AWS API Documentation
Request Syntax
response = client.stop_stack_set_operation(
StackSetName='string',
OperationId='string',
CallAs='SELF'|'DELEGATED_ADMIN'
)
[REQUIRED]
The name or unique ID of the stack set that you want to stop the operation for.
[REQUIRED]
The ID of the stack operation.
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
SELF
.DELEGATED_ADMIN
. Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide .dict
Response Syntax
{}
Response Structure
Exceptions
CloudFormation.Client.exceptions.StackSetNotFoundException
CloudFormation.Client.exceptions.OperationNotFoundException
CloudFormation.Client.exceptions.InvalidOperationException