LifecyclePolicyPolicyDetailFilter class
Constructors
-
LifecyclePolicyPolicyDetailFilter({Input<int?>? retainAtLeast, required Input<String> type, Input<String?>? unit, required Input<int> value})
-
Creates a new LifecyclePolicyPolicyDetailFilter.
retainAtLeast 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.
type Filter resources based on either age or count. Valid values: AGE or COUNT.
unit Defines the unit of time that the lifecycle policy uses to determine impacted resources. This is required for age-based rules. Valid values: DAYS, WEEKS, MONTHS or YEARS.
value 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.
const
-
LifecyclePolicyPolicyDetailFilter.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
retainAtLeast
→ Input<int?>?
-
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.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ Input<String>
-
Filter resources based on either age or count. Valid values:
AGE or COUNT.
final
-
unit
→ Input<String?>?
-
Defines the unit of time that the lifecycle policy uses to determine impacted resources. This is required for age-based rules. Valid values:
DAYS, WEEKS, MONTHS or YEARS.
final
-
value
→ Input<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.
final