RetentionPeriod retentionPeriod
Information about the retention period for which the retention rule is to retain resources.
String description
The retention rule description.
List<E> tags
Information about the tags to assign to the retention rule.
String resourceType
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.
List<E> resourceTags
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.
You can add the same tag key and value pair to a maximum or five retention rules.
To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged.
String identifier
The unique ID of the retention rule.
RetentionPeriod retentionPeriod
String description
The retention rule description.
List<E> tags
Information about the tags assigned to the retention rule.
String resourceType
The resource type retained by the retention rule.
List<E> resourceTags
Information about the resource tags used to identify resources that are retained by the retention rule.
String status
The state of the retention rule. Only retention rules that are in the available state retain
resources.
String identifier
The unique ID of the retention rule.
String identifier
The unique ID of the retention rule.
String identifier
The unique ID of the retention rule.
String description
The retention rule description.
String resourceType
The resource type retained by the retention rule.
RetentionPeriod retentionPeriod
Information about the retention period for which the retention rule is to retain resources.
List<E> resourceTags
Information about the resource tags used to identify resources that are retained by the retention rule.
String status
The state of the retention rule. Only retention rules that are in the available state retain
resources.
Integer maxResults
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned NextToken value.
String nextToken
The token for the next page of results.
String resourceType
The resource type retained by the retention rule. Only retention rules that retain the specified resource type
are listed. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To list retention rules that
retain snapshots, specify EBS_SNAPSHOT. To list retention rules that retain EBS-backed AMIs, specify
EC2_IMAGE.
List<E> resourceTags
Information about the resource tags used to identify resources that are retained by the retention rule.
String resourceArn
The Amazon Resource Name (ARN) of the retention rule.
String reason
The reason for the exception.
Integer retentionPeriodValue
The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit.
String retentionPeriodUnit
The unit of time in which the retention period is measured. Currently, only DAYS is supported.
String identifier
The unique ID of the retention rule.
String description
The retention rule description.
RetentionPeriod retentionPeriod
Information about the retention period for which the retention rule is to retain resources.
String reason
The reason for the exception.
String identifier
The unique ID of the retention rule.
RetentionPeriod retentionPeriod
Information about the retention period for which the retention rule is to retain resources.
String description
The retention rule description.
String resourceType
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.
List<E> resourceTags
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.
You can add the same tag key and value pair to a maximum or five retention rules.
To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged.
String identifier
The unique ID of the retention rule.
RetentionPeriod retentionPeriod
String description
The retention rule description.
String resourceType
The resource type retained by the retention rule.
List<E> resourceTags
Information about the resource tags used to identify resources that are retained by the retention rule.
String status
The state of the retention rule. Only retention rules that are in the available state retain
resources.
String reason
The reason for the exception.
Copyright © 2022. All rights reserved.