Provision Policy
A 3-step recipe with Amazon Data Lifecycle Manager. We can help you get access.
Recipe · 3 steps
Provision Policy
Create a lifecycle policy and verify it via get and list.
- Create a new EBS snapshot management lifecycle policy that takes a daily snapshot of the targeted volumes and retains the configured number.
- Read the newly created policy back by its identifier to confirm the stored state and policy details.
- List the account's lifecycle policies filtered to the ENABLED state to confirm the new policy is enrolled and active.
What you'll need to have ready
- description: A human-readable description of the lifecycle policy.
- executionRoleArn: The ARN of the IAM role DLM assumes when running the policy.
- targetTagKey: The tag key identifying the volumes the policy targets.
- targetTagValue: The tag value identifying the volumes the policy targets.
- snapshotTime: The UTC time of day to start the daily snapshot.
- retainCount: The number of snapshots to retain on the schedule.
For your developer
Arazzo workflow amazon-data-lifecycle-manager:provision-policy, 3 operations: CreateLifecyclePolicy → GetLifecyclePolicy → GetLifecyclePolicies. Specs on APIs.io.