CfnSecurityPolicyProps
- class aws_cdk.aws_opensearchserverless.CfnSecurityPolicyProps(*, name, policy, type, description=None)
- Bases: - object- Properties for defining a - CfnSecurityPolicy.- Parameters:
- name ( - str) – The name of the policy.
- policy ( - str) – The JSON policy document without any whitespaces.
- type ( - str) – The type of security policy. Can be either- encryptionor- network.
- description ( - Optional[- str]) – The description of the security policy.
 
- 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 import aws_opensearchserverless as opensearchserverless cfn_security_policy_props = opensearchserverless.CfnSecurityPolicyProps( name="name", policy="policy", type="type", # the properties below are optional description="description" ) - Attributes - description
- The description of the security policy. 
 - name
- The name of the policy. 
 - policy
- The JSON policy document without any whitespaces. 
 - type
- The type of security policy. - Can be either - encryptionor- network.