Interface CfnLifecyclePolicy.ExclusionRulesProperty

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

@Stability(Stable) public static interface CfnLifecyclePolicy.ExclusionRulesProperty extends software.amazon.jsii.JsiiSerializable
Specifies resources that lifecycle policy actions should not apply to.

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.*;
 ExclusionRulesProperty exclusionRulesProperty = ExclusionRulesProperty.builder()
         .amis(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())
         .tagMap(Map.of(
                 "tagMapKey", "tagMap"))
         .build();
 

See Also: