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