Skip to content

stop_stack_set_operation

Operation

stop_stack_set_operation

stop_stack_set_operation(request: StopStackSetOperationInput | StopStackSetOperationInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[StopStackSetOperationInputDict]) -> StopStackSetOperationOutput

Stops an in-progress operation on a StackSet and its associated stack instances. StackSets will cancel all the unstarted stack instance deployments and wait for those are in-progress to complete.

Parameters:

Name Type Description Default
request StopStackSetOperationInput | StopStackSetOperationInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[StopStackSetOperationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
StopStackSetOperationOutput

An instance of StopStackSetOperationOutput.

stop_stack_set_operation async

stop_stack_set_operation(request: StopStackSetOperationInput | StopStackSetOperationInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[StopStackSetOperationInputDict]) -> StopStackSetOperationOutput

Stops an in-progress operation on a StackSet and its associated stack instances. StackSets will cancel all the unstarted stack instance deployments and wait for those are in-progress to complete.

Parameters:

Name Type Description Default
request StopStackSetOperationInput | StopStackSetOperationInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[StopStackSetOperationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
StopStackSetOperationOutput

An instance of StopStackSetOperationOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

StopStackSetOperationInputDict

Bases: TypedDict

Dictionary form of StopStackSetOperationInput.

Attributes

call_as instance-attribute
call_as: str | None

Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid only if the StackSet uses service-managed permissions.

By default, SELF is specified. Use SELF for StackSets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.

  • If you are signed in to a delegated administrator account, specify 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.

operation_id instance-attribute
operation_id: Required[str]

The ID of the stack operation.

stack_set_name instance-attribute
stack_set_name: Required[str]

The name or unique ID of the StackSet that you want to stop the operation for.

StopStackSetOperationInput dataclass

Bases: _SerdeShape

Dataclass for StopStackSetOperationInput structure.

Attributes

call_as class-attribute instance-attribute
call_as: str | None = ...

Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid only if the StackSet uses service-managed permissions.

By default, SELF is specified. Use SELF for StackSets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.

  • If you are signed in to a delegated administrator account, specify 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.

operation_id class-attribute instance-attribute
operation_id: str | None = ...

The ID of the stack operation.

stack_set_name class-attribute instance-attribute
stack_set_name: str | None = ...

The name or unique ID of the StackSet that you want to stop the operation for.

Output

StopStackSetOperationOutput dataclass

Bases: _SerdeShape

Dataclass for StopStackSetOperationOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.