Skip to content

Exclusions

Source code in docs_src/capo_dlm/types/exclusions.py
class Exclusions(TypedDict, closed=True):
    exclude_boot_volumes: NotRequired[
        "capo_dlm.types.exclude_boot_volumes.ExcludeBootVolumes"
    ]
    """<p> <b>[Default policies for EBS snapshots only]</b> 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 <code>true</code>.</p>"""
    exclude_volume_types: NotRequired[
        "capo_dlm.types.exclude_volume_types_list.ExcludeVolumeTypesList"
    ]
    """<p> <b>[Default policies for EBS snapshots only]</b> Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.</p>"""
    exclude_tags: NotRequired["capo_dlm.types.exclude_tags_list.ExcludeTagsList"]
    """<p> <b>[Default policies for EBS-backed AMIs only]</b> Specifies whether to exclude volumes that have specific tags. </p>"""

exclude_boot_volumes instance-attribute

exclude_boot_volumes: NotRequired[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.

exclude_tags instance-attribute

exclude_tags: NotRequired[ExcludeTagsList]

[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.

exclude_volume_types instance-attribute

exclude_volume_types: NotRequired[ExcludeVolumeTypesList]

[Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.