Interface CfnLifecyclePolicy.ActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicy.ActionProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicy
@Stability(Stable)
public static interface CfnLifecyclePolicy.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.services.imagebuilder.*; ActionProperty actionProperty = ActionProperty.builder() .type("type") // the properties below are optional .includeResources(IncludeResourcesProperty.builder() .amis(false) .containers(false) .snapshots(false) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLifecyclePolicy.ActionProperty
static final class
An implementation forCfnLifecyclePolicy.ActionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
Specifies the lifecycle action to take.- See Also:
-
getIncludeResources
Specifies the resources that the lifecycle policy applies to.- See Also:
-
builder
-