interface ExclusionsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DLM.CfnLifecyclePolicy.ExclusionsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdlm#CfnLifecyclePolicy_ExclusionsProperty |
![]() | software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.ExclusionsProperty |
![]() | aws_cdk.aws_dlm.CfnLifecyclePolicy.ExclusionsProperty |
![]() | aws-cdk-lib » aws_dlm » CfnLifecyclePolicy » ExclusionsProperty |
[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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dlm as dlm } from 'aws-cdk-lib';
declare const excludeTags: any;
declare const excludeVolumeTypes: any;
const exclusionsProperty: dlm.CfnLifecyclePolicy.ExclusionsProperty = {
excludeBootVolumes: false,
excludeTags: excludeTags,
excludeVolumeTypes: excludeVolumeTypes,
};
Properties
Name | Type | Description |
---|---|---|
exclude | boolean | IResolvable | [Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume. |
exclude | any | [Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags. |
exclude | any | [Default policies for EBS snapshots only] Specifies the volume types to exclude. |
excludeBootVolumes?
Type:
boolean |
IResolvable
(optional)
[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
.
excludeTags?
Type:
any
(optional)
[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
excludeVolumeTypes?
Type:
any
(optional)
[Default policies for EBS snapshots only] Specifies the volume types to exclude.
Volumes of the specified types will not be targeted by the policy.