interface CfnResourcePolicyProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.APS.CfnResourcePolicyProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsaps#CfnResourcePolicyProps |
![]() | software.amazon.awscdk.services.aps.CfnResourcePolicyProps |
![]() | aws_cdk.aws_aps.CfnResourcePolicyProps |
![]() | aws-cdk-lib » aws_aps » CfnResourcePolicyProps |
Properties for defining a CfnResourcePolicy
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-resourcepolicy.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aps as aps } from 'aws-cdk-lib';
const cfnResourcePolicyProps: aps.CfnResourcePolicyProps = {
policyDocument: 'policyDocument',
workspaceArn: 'workspaceArn',
};
Properties
Name | Type | Description |
---|---|---|
policy | string | The JSON to use as the Resource-based Policy. |
workspace | string | An ARN identifying a Workspace. |
policyDocument
Type:
string
The JSON to use as the Resource-based Policy.
workspaceArn
Type:
string
An ARN identifying a Workspace.