import { Value } from '../../cloudformation/Value';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Creates or updates a resource policy that allows other AWS services to put log events to this account. An account can have up to 10 resource policies per AWS Region.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html">the AWS Docs</a>
*/
export type ResourcePolicy = AwsResource<'AWS::Logs::ResourcePolicy', ResourcePolicyProperties>;
export declare function resourcePolicy(resourcePolicyProps: ResourcePolicyProperties): ResourcePolicy;
/**
  Creates or updates a resource policy that allows other AWS services to put log events to this account. An account can have up to 10 resource policies per AWS Region.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html">the AWS Docs</a>
*/
export interface ResourcePolicyProperties {
    /** <code>PolicyName</code>  <a name="cfn-logs-resourcepolicy-policyname"></a>
  The name of the resource 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> */
    policyName: Value<string>;
    /** <code>PolicyDocument</code>  <a name="cfn-logs-resourcepolicy-policydocument"></a>
  The details of the policy. It must be formatted in JSON, and you must use backslashes to escape characters that need to be escaped in JSON strings, such as double quote marks.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>5120</code><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> */
    policyDocument: Value<string>;
}
