AWS-TerminateEC2Instance - AWS Systems Manager Automation runbook reference

AWS-TerminateEC2Instance

Description

Terminate one or more EC2 instances.

Run this Automation (console)

Document type

Automation

Owner

Amazon

Platforms

Linux, macOS, Windows

Parameters

  • AutomationAssumeRole

    Type: String

    Description: (Optional) The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows Systems Manager Automation to perform the actions on your behalf. If no role is specified, Systems Manager Automation uses the permissions of the user that starts this runbook.

  • InstanceId

    Type: StringList

    Description: (Required) IDs of one or more EC2 instances to terminate.