interface CfnResourcePolicyProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_smsvoice.CfnResourcePolicyProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssmsvoice#CfnResourcePolicyProps |
![]() | software.amazon.awscdk.services.smsvoice.CfnResourcePolicyProps |
![]() | aws_cdk.aws_smsvoice.CfnResourcePolicyProps |
![]() | aws-cdk-lib » aws_smsvoice » CfnResourcePolicyProps |
Properties for defining a CfnResourcePolicy
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_smsvoice as smsvoice } from 'aws-cdk-lib';
declare const policyDocument: any;
const cfnResourcePolicyProps: smsvoice.CfnResourcePolicyProps = {
policyDocument: policyDocument,
resourceArn: 'resourceArn',
};
Properties
Name | Type | Description |
---|---|---|
policy | any | The JSON formatted resource-based policy to attach. |
resource | string | The Amazon Resource Name (ARN) of the End User Messaging resource attached to the resource-based policy. |
policyDocument
Type:
any
The JSON formatted resource-based policy to attach.
resourceArn
Type:
string
The Amazon Resource Name (ARN) of the End User Messaging resource attached to the resource-based policy.