LifecyclePolicyDetailAction
¶
Source code in docs_src/capo_imagebuilder/types/lifecycle_policy_detail_action.py
include_resources
instance-attribute
¶
include_resources: NotRequired[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.
type
instance-attribute
¶
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.