Interface CfnLifecyclePolicy.AmiExclusionRulesProperty

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

@Stability(Stable) public static interface CfnLifecyclePolicy.AmiExclusionRulesProperty extends software.amazon.jsii.JsiiSerializable
Defines criteria for AMIs that are excluded from lifecycle actions.

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.*;
 AmiExclusionRulesProperty amiExclusionRulesProperty = AmiExclusionRulesProperty.builder()
         .isPublic(false)
         .lastLaunched(LastLaunchedProperty.builder()
                 .unit("unit")
                 .value(123)
                 .build())
         .regions(List.of("regions"))
         .sharedAccounts(List.of("sharedAccounts"))
         .tagMap(Map.of(
                 "tagMapKey", "tagMap"))
         .build();
 

See Also: