Interface CfnLifecyclePolicyPropsMixin.ActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicyPropsMixin.ActionProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicyPropsMixin
@Stability(Stable)
public static interface CfnLifecyclePolicyPropsMixin.ActionProperty
extends software.amazon.jsii.JsiiSerializable
Contains selection criteria for the lifecycle policy.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.*;
ActionProperty actionProperty = ActionProperty.builder()
.includeResources(IncludeResourcesProperty.builder()
.amis(false)
.containers(false)
.snapshots(false)
.build())
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicyPropsMixin.ActionPropertystatic final classAn implementation forCfnLifecyclePolicyPropsMixin.ActionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIncludeResources
Specifies the resources that the lifecycle policy applies to.Returns union: either
IResolvableorCfnLifecyclePolicyPropsMixin.IncludeResourcesProperty- See Also:
-
getType
Specifies the lifecycle action to take.- See Also:
-
builder
-