AWS::ImageBuilder::Image DeletionSettings - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::ImageBuilder::Image DeletionSettings

Contains deletion settings of underlying resources of an image when it is replaced or deleted, including its Amazon Machine Images (AMIs), snapshots, or containers.

Note

If you specify the Retain option in the DeletionPolicy or UpdateReplacePolicy, the deletion of underlying resources will not be executed.

Syntax

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

JSON

{ "ExecutionRole" : String }

YAML

ExecutionRole: String

Properties

ExecutionRole

The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to delete the image and its underlying resources.

Required: Yes

Type: String

Update requires: No interruption