This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::ImageBuilder::LifecyclePolicy PolicyDetail
Defines one lifecycle policy rule: the action to take, the filter that determines which resources the rule applies to, and optional exclusion rules.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Action" :Action, "ExclusionRules" :ExclusionRules, "Filter" :Filter}
YAML
Action:ActionExclusionRules:ExclusionRulesFilter:Filter
Properties
Action-
Configuration details for the policy action.
Required: Yes
Type: Action
Update requires: No interruption
ExclusionRules-
Additional rules to specify resources that should be exempt from policy actions.
Required: No
Type: ExclusionRules
Update requires: No interruption
Filter-
Specifies the resources that the lifecycle policy applies to.
Required: Yes
Type: Filter
Update requires: No interruption