interface DeletionSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins.CfnImagePropsMixin.DeletionSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsimagebuilder/mixins#CfnImagePropsMixin_DeletionSettingsProperty |
Java | software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.CfnImagePropsMixin.DeletionSettingsProperty |
Python | aws_cdk.mixins_preview.aws_imagebuilder.mixins.CfnImagePropsMixin.DeletionSettingsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_imagebuilder » mixins » CfnImagePropsMixin » DeletionSettingsProperty |
Contains deletion settings of underlying resources of an image when it is replaced or deleted, including its Amazon Machine Images (AMIs), snapshots, or containers.
If you specify the
Retainoption in the DeletionPolicy or UpdateReplacePolicy , the deletion of underlying resources will not be executed.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as imagebuilder_mixins } from '@aws-cdk/mixins-preview/aws-imagebuilder';
const deletionSettingsProperty: imagebuilder_mixins.CfnImagePropsMixin.DeletionSettingsProperty = {
executionRole: 'executionRole',
};
Properties
| Name | Type | Description |
|---|---|---|
| execution | string | 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. |
executionRole?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript