Class: Aws::Imagebuilder::Types::LifecyclePolicyDetailFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::Imagebuilder::Types::LifecyclePolicyDetailFilter
- Defined in:
- gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb
Overview
Defines filters that the lifecycle policy uses to determine impacted resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#retain_at_least ⇒ Integer
For age-based filters, this is the number of resources to keep on hand after the lifecycle
DELETEaction is applied. -
#type ⇒ String
Filter resources based on either
AGEorCOUNT. -
#unit ⇒ String
Defines the unit of time that the lifecycle policy uses to determine impacted resources.
-
#value ⇒ Integer
The number of units for the time period or for the count.
Instance Attribute Details
#retain_at_least ⇒ Integer
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.
6611 6612 6613 6614 6615 6616 6617 6618 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 6611 class LifecyclePolicyDetailFilter < Struct.new( :type, :value, :unit, :retain_at_least) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
Filter resources based on either AGE or COUNT. You can only use
the count filter with the DELETE action type.
6611 6612 6613 6614 6615 6616 6617 6618 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 6611 class LifecyclePolicyDetailFilter < Struct.new( :type, :value, :unit, :retain_at_least) SENSITIVE = [] include Aws::Structure end |
#unit ⇒ String
Defines the unit of time that the lifecycle policy uses to determine impacted resources. This is required for age-based rules.
6611 6612 6613 6614 6615 6616 6617 6618 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 6611 class LifecyclePolicyDetailFilter < Struct.new( :type, :value, :unit, :retain_at_least) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Integer
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.
6611 6612 6613 6614 6615 6616 6617 6618 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 6611 class LifecyclePolicyDetailFilter < Struct.new( :type, :value, :unit, :retain_at_least) SENSITIVE = [] include Aws::Structure end |