CfnResourcePolicyProps

class aws_cdk.aws_aps.CfnResourcePolicyProps(*, policy_document, workspace_arn)

Bases: object

Properties for defining a CfnResourcePolicy.

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

  • workspace_arn (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 import aws_aps as aps

cfn_resource_policy_props = aps.CfnResourcePolicyProps(
    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