Interface CfnLifecyclePolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:25.857Z")
@Stability(Stable)
public interface CfnLifecyclePolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLifecyclePolicy.
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.opensearchserverless.*;
CfnLifecyclePolicyProps cfnLifecyclePolicyProps = CfnLifecyclePolicyProps.builder()
.name("name")
.policy("policy")
.type("type")
// the properties below are optional
.description("description")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicyPropsstatic final classAn implementation forCfnLifecyclePolicyProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the lifecycle policy.- See Also:
-
getPolicy
The JSON policy document without any whitespaces.- See Also:
-
getType
The type of lifecycle policy.- See Also:
-
getDescription
The description of the lifecycle policy.- See Also:
-
builder
- Returns:
- a
CfnLifecyclePolicyProps.BuilderofCfnLifecyclePolicyProps
-