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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLifecyclePolicy.ExclusionRulesProperty
static final class
An implementation forCfnLifecyclePolicy.ExclusionRulesProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
getAmis()
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.default Object
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmis
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.- See Also:
-
getTagMap
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.- See Also:
-
builder
-