CfnResourcePolicyMixinProps

class aws_cdk.mixins_preview.aws_aps.mixins.CfnResourcePolicyMixinProps(*, policy_document=None, workspace_arn=None)

Bases: object

Properties for CfnResourcePolicyPropsMixin.

Parameters:
  • policy_document (Optional[str]) – The JSON to use as the Resource-based Policy.

  • workspace_arn (Optional[str]) – An ARN identifying a Workspace.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-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_aps import mixins as aps_mixins

cfn_resource_policy_mixin_props = aps_mixins.CfnResourcePolicyMixinProps(
    policy_document="policyDocument",
    workspace_arn="workspaceArn"
)

Attributes

policy_document

The JSON to use as the Resource-based Policy.

See:

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

workspace_arn

An ARN identifying a Workspace.

See:

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