AWS::DLM::LifecyclePolicy Exclusions
[Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs for target resources that match any of the specified exclusion parameters.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ExcludeBootVolumes" :
Boolean
, "ExcludeTags" :Json
, "ExcludeVolumeTypes" :Json
}
YAML
ExcludeBootVolumes:
Boolean
ExcludeTags:Json
ExcludeVolumeTypes:Json
Properties
ExcludeBootVolumes
-
[Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume. If you exclude boot volumes, only volumes attached as data (non-boot) volumes will be backed up by the policy. To exclude boot volumes, specify
true
.Required: No
Type: Boolean
Update requires: No interruption
-
[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
Required: No
Type: Json
Minimum:
0
Maximum:
50
Update requires: No interruption
ExcludeVolumeTypes
-
[Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.
Required: No
Type: Json
Minimum:
0
Maximum:
6
Update requires: No interruption