Interface CfnImagePropsMixin.DeletionSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnImagePropsMixin.DeletionSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnImagePropsMixin
@Stability(Stable)
public static interface CfnImagePropsMixin.DeletionSettingsProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.*;
DeletionSettingsProperty deletionSettingsProperty = DeletionSettingsProperty.builder()
.executionRole("executionRole")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnImagePropsMixin.DeletionSettingsPropertystatic final classAn implementation forCfnImagePropsMixin.DeletionSettingsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExecutionRole
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.- See Also:
-
builder
-