AWS::OpenSearchServerless::SecurityPolicyCreates an encryption or network policy to be used by one or more OpenSearch Serverless collections. Network policies specify access to a collection and its OpenSearch Dashboards endpoint from public networks or specific VPC endpoints. For more information, see [Network access for Amazon OpenSearch Serverless](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html) . Encryption policies specify a KMS encryption key to assign to particular collections. For more information, see [Encryption at rest for Amazon OpenSearch Serverless](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html) .
import { CfnSecurityPolicy } from 'aws-cdk-lib/aws-opensearchserverless';Or use the module namespace:
import * as opensearchserverless from 'aws-cdk-lib/aws-opensearchserverless';
// opensearchserverless.CfnSecurityPolicyConfiguration passed to the constructor as CfnSecurityPolicyProps.
nameRequiredstringThe name of the policy.
policyRequiredstringThe JSON policy document without any whitespaces.
typeRequiredstringThe type of security policy. Can be either `encryption` or `network` .
descriptionOptionalstringThe description of the security policy.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-opensearchserverlessAWS::OpenSearchServerless::SecurityPolicy