aws-cdk-lib.aws_opensearchserverless.CfnSecurityPolicyProps

interface CfnSecurityPolicyProps

LanguageType name
.NETAmazon.CDK.AWS.OpenSearchServerless.CfnSecurityPolicyProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsopensearchserverless#CfnSecurityPolicyProps
Javasoftware.amazon.awscdk.services.opensearchserverless.CfnSecurityPolicyProps
Pythonaws_cdk.aws_opensearchserverless.CfnSecurityPolicyProps
TypeScript aws-cdk-lib » aws_opensearchserverless » CfnSecurityPolicyProps

Properties for defining a CfnSecurityPolicy.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opensearchserverless as opensearchserverless } from 'aws-cdk-lib';
const cfnSecurityPolicyProps: opensearchserverless.CfnSecurityPolicyProps = {
  name: 'name',
  policy: 'policy',
  type: 'type',

  // the properties below are optional
  description: 'description',
};

Properties

NameTypeDescription
namestringThe name of the policy.
policystringThe JSON policy document without any whitespaces.
typestringThe type of security policy.
description?stringThe description of the security 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 security policy.

Can be either encryption or network .


description?

Type: string (optional)

The description of the security policy.