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.
5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5928 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.
5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5928 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.
5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5928 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.
5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5928 class LifecyclePolicyDetailFilter < Struct.new( :type, :value, :unit, :retain_at_least) SENSITIVE = [] include Aws::Structure end |