Builder

class Builder

Properties

Link copied to clipboard

The retention rule description.

Link copied to clipboard

Information about the retention rule lock configuration.

Link copied to clipboard

Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.

Link copied to clipboard

The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To retain snapshots, specify EBS_SNAPSHOT. To retain EBS-backed AMIs, specify EC2_IMAGE.

Link copied to clipboard

Information about the retention period for which the retention rule is to retain resources.

Link copied to clipboard
var tags: List<Tag>?

Information about the tags to assign to the retention rule.

Functions

Link copied to clipboard