SsmActionDefinition - Amazon Billing and Cost Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

SsmActionDefinition

The Amazon 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}-\w+(-\w+)?-\d$

Required: Yes

See Also

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