Class: Aws::Imagebuilder::Types::LifecyclePolicyDetailAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::Imagebuilder::Types::LifecyclePolicyDetailAction
- Defined in:
- gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb
Overview
Contains the action configuration for a lifecycle policy rule: the action to take, and which underlying resources the action extends to.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#include_resources ⇒ Types::LifecyclePolicyDetailActionIncludeResources
Specifies which underlying resources the action extends to beyond the Image Builder image resource itself: distributed AMIs, their snapshots, or distributed container images.
-
#type ⇒ String
Specifies the lifecycle action to take.
Instance Attribute Details
#include_resources ⇒ Types::LifecyclePolicyDetailActionIncludeResources
Specifies which underlying resources the action extends to beyond
the Image Builder image resource itself: distributed AMIs, their
snapshots, or distributed container images. DELETE rules can
include all three, DEPRECATE and DISABLE rules can include AMIs
only, and you can only include snapshots together with AMIs.
6577 6578 6579 6580 6581 6582 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 6577 class LifecyclePolicyDetailAction < Struct.new( :type, :include_resources) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
Specifies the lifecycle action to take. DELETE deletes the image
resource and, with includeResources, also removes distributed
AMIs, snapshots, or container images. DEPRECATE and DISABLE set
the corresponding status on the image resource and, if
includeResources.amis is set, on its distributed AMIs.
6577 6578 6579 6580 6581 6582 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 6577 class LifecyclePolicyDetailAction < Struct.new( :type, :include_resources) SENSITIVE = [] include Aws::Structure end |