import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type ResourcePolicyAttributes = {
    PolicyHash: Attribute<string>;
    PolicyId: Attribute<string>;
};
export type ResourcePolicy = AwsResource<'AWS::SSM::ResourcePolicy', ResourcePolicyProperties, ResourcePolicyAttributes>;
/**
  Creates or updates a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an AWS account) that can manage your Systems Manager resources. Currently, <code>OpsItemGroup</code> is the only resource that supports Systems Manager resource policies. The resource policy for <code>OpsItemGroup</code> enables AWS accounts to view and interact with OpsCenter operational work items (OpsItems). OpsCenter is a capability of Systems Manager.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcepolicy.html">the AWS Docs</a>
*/
export declare function resourcePolicy(resourcePolicyProps: ResourcePolicyProperties): ResourcePolicy;
/**
  Creates or updates a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an AWS account) that can manage your Systems Manager resources. Currently, <code>OpsItemGroup</code> is the only resource that supports Systems Manager resource policies. The resource policy for <code>OpsItemGroup</code> enables AWS accounts to view and interact with OpsCenter operational work items (OpsItems). OpsCenter is a capability of Systems Manager.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcepolicy.html">the AWS Docs</a>
*/
export interface ResourcePolicyProperties {
    /** <code>Policy</code>  <a name="cfn-ssm-resourcepolicy-policy"></a>
  A policy you want to associate with a resource.<br />
  
  Required: Yes<br />
  
  Pattern: <code>\S+</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> */
    policy: Value<any>;
    /** <code>ResourceArn</code>  <a name="cfn-ssm-resourcepolicy-resourcearn"></a>
  Amazon Resource Name (ARN) of the resource to which you want to attach a policy.<br />
  
  Required: Yes<br />
  
  Minimum: <code>20</code><br />
  
  Maximum: <code>2048</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    resourceArn: Value<string>;
}
