AWS::ImageBuilder::LifecyclePolicy AmiExclusionRules - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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: 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 Amazon Web Services Regions that are excluded from the lifecycle action.

Required: No

Type: Array of String

Update requires: No interruption

SharedAccounts

Specifies Amazon Web Services 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