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 AmiExclusionRules
Defines criteria for AMIs that are excluded from lifecycle actions.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "IsPublic" :Boolean, "LastLaunched" :LastLaunched, "Regions" :[ String, ... ], "SharedAccounts" :[ String, ... ], "TagMap" :{}Key:Value, ...}
YAML
IsPublic:BooleanLastLaunched:LastLaunchedRegions:- StringSharedAccounts:- StringTagMap:Key:Value
Properties
IsPublic- 
                    
Configures whether public AMIs are excluded from the lifecycle action.
Required: No
Type: Boolean
Update requires: No interruption
 LastLaunched- 
                    
Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
Required: No
Type: LastLaunched
Update requires: No interruption
 Regions- 
                    
Configures Amazon Web Services Regions that are excluded from the lifecycle action.
Required: No
Type: Array of String
Update requires: No interruption
 - 
                    
Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
Required: No
Type: Array of String
Minimum:
1Maximum:
1536Update requires: No interruption
 TagMap- 
                    
Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
Required: No
Type: Object of String
Pattern:
.{1,}Update requires: No interruption