CfnAccessPolicyMixinProps
- class aws_cdk.mixins_preview.aws_opensearchserverless.mixins.CfnAccessPolicyMixinProps(*, description=None, name=None, policy=None, type=None)
Bases:
objectProperties for CfnAccessPolicyPropsMixin.
- Parameters:
description (
Optional[str]) – The description of the policy.name (
Optional[str]) – The name of the policy.policy (
Optional[str]) – The JSON policy document without any whitespaces.type (
Optional[str]) – The type of access policy. Currently the only option isdata.
- 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_access_policy_mixin_props = opensearchserverless_mixins.CfnAccessPolicyMixinProps( description="description", name="name", policy="policy", type="type" )
Attributes
- description
The description of the policy.
- name
The name of the policy.
- policy
The JSON policy document without any whitespaces.
- type
The type of access policy.
Currently the only option is
data.