CfnLifecyclePolicyMixinProps
- class aws_cdk.mixins_preview.aws_opensearchserverless.mixins.CfnLifecyclePolicyMixinProps(*, description=None, name=None, policy=None, type=None)
Bases:
objectProperties 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:
- 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.
- name
The name of the lifecycle policy.
- policy
The JSON policy document without any whitespaces.