Interface CfnLifecyclePolicy.IncludeResourcesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicy.IncludeResourcesProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicy
@Stability(Stable)
public static interface CfnLifecyclePolicy.IncludeResourcesProperty
extends software.amazon.jsii.JsiiSerializable
Specifies how the lifecycle policy should apply actions to selected resources.
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.*; IncludeResourcesProperty includeResourcesProperty = IncludeResourcesProperty.builder() .amis(false) .containers(false) .snapshots(false) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLifecyclePolicy.IncludeResourcesProperty
static final class
An implementation forCfnLifecyclePolicy.IncludeResourcesProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
getAmis()
Specifies whether the lifecycle action should apply to distributed AMIs.default Object
Specifies whether the lifecycle action should apply to distributed containers.default Object
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmis
Specifies whether the lifecycle action should apply to distributed AMIs.- See Also:
-
getContainers
Specifies whether the lifecycle action should apply to distributed containers.- See Also:
-
getSnapshots
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.- See Also:
-
builder
-