interface CfnLifecyclePolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.OpenSearchServerless.CfnLifecyclePolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsopensearchserverless#CfnLifecyclePolicyProps |
Java | software.amazon.awscdk.services.opensearchserverless.CfnLifecyclePolicyProps |
Python | aws_cdk.aws_opensearchserverless.CfnLifecyclePolicyProps |
TypeScript | aws-cdk-lib » aws_opensearchserverless » CfnLifecyclePolicyProps |
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 { aws_opensearchserverless as opensearchserverless } from 'aws-cdk-lib';
const cfnLifecyclePolicyProps: opensearchserverless.CfnLifecyclePolicyProps = {
name: 'name',
policy: 'policy',
type: 'type',
// the properties below are optional
description: 'description',
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the lifecycle policy. |
policy | string | The JSON policy document without any whitespaces. |
type | string | The type of lifecycle policy. |
description? | string | The description of the lifecycle policy. |
name
Type:
string
The name of the lifecycle policy.
policy
Type:
string
The JSON policy document without any whitespaces.
type
Type:
string
The type of lifecycle policy.
description?
Type:
string
(optional)
The description of the lifecycle policy.