LifecyclePolicyDetailAction
Contains the action configuration for a lifecycle policy rule: the action to take, and which underlying resources the action extends to.
Contents
- type
-
Specifies the lifecycle action to take.
DELETEdeletes the image resource and, withincludeResources, also removes distributed AMIs, snapshots, or container images.DEPRECATEandDISABLEset the corresponding status on the image resource and, ifincludeResources.amisis set, on its distributed AMIs.Type: String
Valid Values:
DELETE | DEPRECATE | DISABLERequired: Yes
- includeResources
-
Specifies which underlying resources the action extends to beyond the Image Builder image resource itself: distributed AMIs, their snapshots, or distributed container images.
DELETErules can include all three,DEPRECATEandDISABLErules can include AMIs only, and you can only include snapshots together with AMIs.Type: LifecyclePolicyDetailActionIncludeResources object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: