AWS::ImageBuilder::LifecyclePolicy AmiExclusionRules - AWS CloudFormation

AWS::ImageBuilder::LifecyclePolicy AmiExclusionRules

Defines criteria for AMIs that are excluded from lifecycle actions.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "IsPublic" : Boolean, "LastLaunched" : LastLaunched, "Regions" : [ String, ... ], "SharedAccounts" : [ String, ... ], "TagMap" : {Key: Value, ...} }

YAML

IsPublic: Boolean LastLaunched: LastLaunched Regions: - String SharedAccounts: - String TagMap: 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 AWS Regions that are excluded from the lifecycle action.

Required: No

Type: Array of String

Update requires: No interruption

SharedAccounts

Specifies AWS accounts whose resources are excluded from the lifecycle action.

Required: No

Type: Array of String

Minimum: 1

Maximum: 1536

Update 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