interface CfnAccessPolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.OpenSearchServerless.CfnAccessPolicyProps |
Java | software.amazon.awscdk.services.opensearchserverless.CfnAccessPolicyProps |
Python | aws_cdk.aws_opensearchserverless.CfnAccessPolicyProps |
TypeScript | @aws-cdk/aws-opensearchserverless » CfnAccessPolicyProps |
Properties for defining a CfnAccessPolicy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as opensearchserverless from '@aws-cdk/aws-opensearchserverless';
const cfnAccessPolicyProps: opensearchserverless.CfnAccessPolicyProps = {
name: 'name',
policy: 'policy',
type: 'type',
// the properties below are optional
description: 'description',
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the policy. |
| policy | string | The JSON policy document without any whitespaces. |
| type | string | The type of access policy. |
| description? | string | The description of the policy. |
name
Type:
string
The name of the policy.
policy
Type:
string
The JSON policy document without any whitespaces.
type
Type:
string
The type of access policy.
Currently the only option is data .
description?
Type:
string
(optional)
The description of the policy.

.NET
Java
Python
TypeScript