aws dlm update-lifecycle-policy
Updates the specified lifecycle policy. AWS CLI reference
11 options Its page in the AWS CLI reference
Options
--copy-tags[Default policies only] Indicates whether the policy should copy tags from the source resource to the snapshot or AMI.--create-interval[Default policies only] Specifies how often the policy should run and create snapshots or AMIs.--cross-region-copy-targets[Default policies only] Specifies destination Regions for snapshot or AMI copies.--descriptionA description of the lifecycle policy.--exclusions[Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want to create snapshots or AMIs.--execution-role-arnThe Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.--extend-deletion[Default policies only] Defines the snapshot or AMI retention behavior for the policy if the source volume or instance is deleted, or if the policy enters the error, disabled, or deleted state.--policy-detailsThe configuration of the lifecycle policy.--policy-idThe identifier of the lifecycle policy.--retain-interval[Default policies only] Specifies how long the policy should retain snapshots or AMIs before deleting them.--stateThe desired activation state of the lifecycle policy after creation.