AWS::SSM::ResourcePolicyCreates 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, `OpsItemGroup` is the only resource that supports Systems Manager resource policies. The resource policy for `OpsItemGroup` enables AWS accounts to view and interact with OpsCenter operational work items (OpsItems). OpsCenter is a tool in Systems Manager .
import { CfnResourcePolicy } from 'aws-cdk-lib/aws-ssm';Or use the module namespace:
import * as ssm from 'aws-cdk-lib/aws-ssm';
// ssm.CfnResourcePolicyConfiguration passed to the constructor as CfnResourcePolicyProps.
policyRequiredanyA policy you want to associate with a resource.
resourceArnRequiredstringThe Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-ssmAWS::SSM::ResourcePolicy