import { Value } from '../../cloudformation/Value';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Use <code>AWS::XRay::ResourcePolicy</code> to specify an X-Ray resource-based policy, which grants one or more AWS services and accounts permissions to access X-Ray. Each resource-based policy is associated with a specific AWS account.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-resourcepolicy.html">the AWS Docs</a>
*/
export type ResourcePolicy = AwsResource<'AWS::XRay::ResourcePolicy', ResourcePolicyProperties>;
export declare function resourcePolicy(resourcePolicyProps: ResourcePolicyProperties): ResourcePolicy;
/**
  Use <code>AWS::XRay::ResourcePolicy</code> to specify an X-Ray resource-based policy, which grants one or more AWS services and accounts permissions to access X-Ray. Each resource-based policy is associated with a specific AWS account.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-resourcepolicy.html">the AWS Docs</a>
*/
export interface ResourcePolicyProperties {
    /** <code>BypassPolicyLockoutCheck</code>  <a name="cfn-xray-resourcepolicy-bypasspolicylockoutcheck"></a>
  A flag to indicate whether to bypass the resource-based policy lockout safety check.<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> */
    bypassPolicyLockoutCheck?: Value<boolean>;
    /** <code>PolicyName</code>  <a name="cfn-xray-resourcepolicy-policyname"></a>
  The name of the resource-based policy. Must be unique within a specific AWS account.<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-xray-resourcepolicy-policydocument"></a>
  The resource-based policy document, which can be up to 5kb in size.<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> */
    policyDocument: Value<string>;
}
