interface ResourcePermissionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnFolder.ResourcePermissionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnFolder_ResourcePermissionProperty |
Java | software.amazon.awscdk.services.quicksight.CfnFolder.ResourcePermissionProperty |
Python | aws_cdk.aws_quicksight.CfnFolder.ResourcePermissionProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnFolder » ResourcePermissionProperty |
Permission for the resource.
.Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const resourcePermissionProperty: quicksight.CfnFolder.ResourcePermissionProperty = {
actions: ['actions'],
principal: 'principal',
};
Properties
Name | Type | Description |
---|---|---|
actions | string[] | The IAM action to grant or revoke permissions on. . |
principal | string | The Amazon Resource Name (ARN) of the principal. |
actions
Type:
string[]
The IAM action to grant or revoke permissions on.
.principal
Type:
string
The Amazon Resource Name (ARN) of the principal.
This can be one of the following:
-
The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)
-
The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)
-
The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.)