import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  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 function resourcePolicy(resourcePolicyProps) {
    return new AwsResource('AWS::SSM::ResourcePolicy', resourcePolicyProps, { PolicyHash: 'PolicyHash', PolicyId: 'PolicyId' });
}
