AWS-ArchiveEBSSnapshots
Description
The AWS-ArchiveEBSSnapshots
runbook helps you archive snapshots by specifying the tag you've applied to your snapshots.
Document type
Automation
Owner
Amazon
Platforms
Linux, macOS, Windows
Parameters
-
AutomationAssumeRole
Type: String
Description: (Optional) The Amazon Resource Name (ARN) of the Amazon 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.
-
Description
Type: String
Description: (Optional) A description for the Amazon EBS snapshot.
-
DryRun
Type: String
Valid values: Yes | No
Description: (Required) Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
RetentionCount
Type: String
Description: (Optional) The number of snapshots you want to archive. Don't specify a value for this parameter if you specify a value for
RetentionDays
. -
RetentionDays
Type: String
Description: (Optional) The number of previous days of snapshots you want to archive. Don't specify a value for this parameter if you specify a value for
RetentionCount
. -
TagKey
Type: String
Description: (Required) The key of the tag assigned to the snapshots you want to archive.
-
TagValue
Type: String
Description: (Required) The value of the tag assigned to the snapshots you want to archive.
Document Steps
aws:executeAwsApi
- Archives snapshots using the tag you specify using the TagKey
and TagValue
parameters.