ResourcePermissionProperty Struct
Permission for the resource.
Example
ts
// 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.CfnDataSource.ResourcePermissionProperty = {
actions: ['actions'],
principal: 'principal',
// the properties below are optional
resource: 'resource',
};
Properties
The IAM action to grant or revoke permissions on.
The Amazon Resource Name (ARN) of the principal. This can be one of the following:.
notes
- The ARN of an Amazon Quick user or group associated with a data source or dataset. (This is common.)
- The ARN of an Amazon Quick user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)
- The ARN of an AWS account root: This is an IAM ARN rather than a Quick ARN. Use this option only to share resources (templates) across AWS accounts . (This is less common.)
resourceoptionalstringresourceoptionalstrresourceoptionalStringResourceoptionalstringResourceoptional*string#