LifecyclePolicyDetailFilter

Defines filters that the lifecycle policy uses to determine impacted resource.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

For age-based filters, this is the number of resources to keep on hand after the lifecycle DELETE action is applied. Impacted resources are only deleted if you have more than this number of resources. If you have fewer resources than this number, the impacted resource is not deleted.

Link copied to clipboard

Filter resources based on either age or count.

Link copied to clipboard

Defines the unit of time that the lifecycle policy uses to determine impacted resources. This is required for age-based rules.

Link copied to clipboard
val value: Int

The number of units for the time period or for the count. For example, a value of 6 might refer to six months or six AMIs.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String