interface CfnResourcePolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_smsvoice.CfnResourcePolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssmsvoice#CfnResourcePolicyProps |
Java | software.amazon.awscdk.services.smsvoice.CfnResourcePolicyProps |
Python | aws_cdk.aws_smsvoice.CfnResourcePolicyProps |
TypeScript | 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.

.NET
Go
Java
Python
TypeScript