CfnResourcePolicyMixinProps

class aws_cdk.mixins_preview.aws_smsvoice.mixins.CfnResourcePolicyMixinProps(*, policy_document=None, resource_arn=None)

Bases: object

Properties for CfnResourcePolicyPropsMixin.

Parameters:
  • policy_document (Any) – The JSON formatted resource-based policy to attach.

  • resource_arn (Optional[str]) – The Amazon Resource Name (ARN) of the End User Messaging resource attached to the resource-based policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-resourcepolicy.html

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.mixins_preview.aws_smsvoice import mixins as smsvoice_mixins

# policy_document: Any

cfn_resource_policy_mixin_props = smsvoice_mixins.CfnResourcePolicyMixinProps(
    policy_document=policy_document,
    resource_arn="resourceArn"
)

Attributes

policy_document

The JSON formatted resource-based policy to attach.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-resourcepolicy.html#cfn-smsvoice-resourcepolicy-policydocument

resource_arn

The Amazon Resource Name (ARN) of the End User Messaging resource attached to the resource-based policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-resourcepolicy.html#cfn-smsvoice-resourcepolicy-resourcearn