SsmActionDefinition - AWS Billing and Cost Management
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

SsmActionDefinition

The AWS Systems Manager (SSM) action definition details.

Contents

ActionSubType

The action subType.

Type: String

Valid Values: STOP_EC2_INSTANCES | STOP_RDS_INSTANCES

Required: Yes

InstanceIds

The EC2 and RDS instance IDs.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 100 items.

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: ^i-(\w{8}|\w{17})$|^[a-zA-Z]([\w-]{0,61}\w)?$

Required: Yes

Region

The Region to run the SSM document.

Type: String

Length Constraints: Minimum length of 9. Maximum length of 20.

Pattern: ^\w{2,4}-\w+(-\w+)?-\d$

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: