CfnLifecyclePolicyMixinProps

class aws_cdk.mixins_preview.aws_opensearchserverless.mixins.CfnLifecyclePolicyMixinProps(*, description=None, name=None, policy=None, type=None)

Bases: object

Properties for CfnLifecyclePolicyPropsMixin.

Parameters:
  • description (Optional[str]) – The description of the lifecycle policy.

  • name (Optional[str]) – The name of the lifecycle policy.

  • policy (Optional[str]) – The JSON policy document without any whitespaces.

  • type (Optional[str]) – The type of lifecycle policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-lifecyclepolicy.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_opensearchserverless import mixins as opensearchserverless_mixins

cfn_lifecycle_policy_mixin_props = opensearchserverless_mixins.CfnLifecyclePolicyMixinProps(
    description="description",
    name="name",
    policy="policy",
    type="type"
)

Attributes

description

The description of the lifecycle policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-lifecyclepolicy.html#cfn-opensearchserverless-lifecyclepolicy-description

name

The name of the lifecycle policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-lifecyclepolicy.html#cfn-opensearchserverless-lifecyclepolicy-name

policy

The JSON policy document without any whitespaces.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-lifecyclepolicy.html#cfn-opensearchserverless-lifecyclepolicy-policy

type

The type of lifecycle policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-lifecyclepolicy.html#cfn-opensearchserverless-lifecyclepolicy-type