AWS::SMSVOICE::ResourcePolicyAttaches a resource-based policy to a End User Messaging resource(phone number, sender Id, phone poll, or opt-out list) that is used for sharing the resource. A shared resource can be a Pool, Opt-out list, Sender Id, or Phone number. For more information about resource-based policies, see [Working with shared resources](https://docs.aws.amazon.com/sms-voice/latest/userguide/shared-resources.html) in the *End User Messaging User Guide* .
import { CfnResourcePolicy } from 'aws-cdk-lib/aws-smsvoice';Or use the module namespace:
import * as smsvoice from 'aws-cdk-lib/aws-smsvoice';
// smsvoice.CfnResourcePolicyConfiguration passed to the constructor as CfnResourcePolicyProps.
policyDocumentRequiredanyThe JSON formatted resource-based policy to attach.
resourceArnRequiredstringThe Amazon Resource Name (ARN) of the End User Messaging resource attached to the resource-based 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-smsvoiceAWS::SMSVOICE::ResourcePolicy