Interface CfnImage.DeletionSettingsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnImage.DeletionSettingsProperty.Jsii$Proxy
Enclosing class:
CfnImage

@Stability(Stable) public static interface CfnImage.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 Retain option 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.services.imagebuilder.*;
 DeletionSettingsProperty deletionSettingsProperty = DeletionSettingsProperty.builder()
         .executionRole("executionRole")
         .build();
 

See Also: