CfnResourcePolicyProps
- class aws_cdk.aws_smsvoice.CfnResourcePolicyProps(*, policy_document, resource_arn)
Bases:
object
Properties for defining a
CfnResourcePolicy
.- Parameters:
policy_document (
Any
) – The JSON formatted resource-based policy to attach.resource_arn (
str
) – The Amazon Resource Name (ARN) of the End User Messaging resource attached to the resource-based policy.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_smsvoice as smsvoice # policy_document: Any cfn_resource_policy_props = smsvoice.CfnResourcePolicyProps( policy_document=policy_document, resource_arn="resourceArn" )
Attributes
- policy_document
The JSON formatted resource-based policy to attach.
- resource_arn
The Amazon Resource Name (ARN) of the End User Messaging resource attached to the resource-based policy.