CfnAccessPolicyMixinProps

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

Bases: object

Properties 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 is data .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-accesspolicy.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_access_policy_mixin_props = opensearchserverless_mixins.CfnAccessPolicyMixinProps(
    description="description",
    name="name",
    policy="policy",
    type="type"
)

Attributes

description

The description of the policy.

See:

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

name

The name of the policy.

See:

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

policy

The JSON policy document without any whitespaces.

See:

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

type

The type of access policy.

Currently the only option is data .

See:

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