import { Value } from '../../cloudformation/Value';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Creates an encryption or network policy to be used by one or more OpenSearch Serverless collections.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securitypolicy.html">the AWS Docs</a>
*/
export type SecurityPolicy = AwsResource<'AWS::OpenSearchServerless::SecurityPolicy', SecurityPolicyProperties>;
export declare function securityPolicy(securityPolicyProps: SecurityPolicyProperties): SecurityPolicy;
/**
  Creates an encryption or network policy to be used by one or more OpenSearch Serverless collections.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securitypolicy.html">the AWS Docs</a>
*/
export interface SecurityPolicyProperties {
    /** <code>Policy</code>  <a name="cfn-opensearchserverless-securitypolicy-policy"></a>
  The JSON policy document without any whitespaces.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    policy: Value<string>;
    /** <code>Type</code>  <a name="cfn-opensearchserverless-securitypolicy-type"></a>
  The type of security policy. Can be either <code>encryption</code> or <code>network</code>.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    type: Value<string>;
    /** <code>Description</code>  <a name="cfn-opensearchserverless-securitypolicy-description"></a>
  The description of the security policy.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    description?: Value<string>;
    /** <code>Name</code>  <a name="cfn-opensearchserverless-securitypolicy-name"></a>
  The name of the policy.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    name: Value<string>;
}
