interface CfnResourcePolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APS.CfnResourcePolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsaps#CfnResourcePolicyProps |
Java | software.amazon.awscdk.services.aps.CfnResourcePolicyProps |
Python | aws_cdk.aws_aps.CfnResourcePolicyProps |
TypeScript | 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.

.NET
Go
Java
Python
TypeScript