OpsWorks / Client / stop_stack

stop_stack#

OpsWorks.Client.stop_stack(**kwargs)#

Stops a specified stack.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

See also: AWS API Documentation

Request Syntax

response = client.stop_stack(
    StackId='string'
)
Parameters:

StackId (string) –

[REQUIRED]

The stack ID.

Returns:

None

Exceptions

  • OpsWorks.Client.exceptions.ValidationException

  • OpsWorks.Client.exceptions.ResourceNotFoundException