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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicy.IncludeResourcesPropertystatic final classAn implementation forCfnLifecyclePolicy.IncludeResourcesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetAmis()Specifies whether the lifecycle action should apply to distributed AMIs.default ObjectSpecifies whether the lifecycle action should apply to distributed containers.default ObjectSpecifies 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.Returns union: either
BooleanorIResolvable- See Also:
-
getContainers
Specifies whether the lifecycle action should apply to distributed containers.Returns union: either
BooleanorIResolvable- See Also:
-
getSnapshots
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-