Skip to content
v2.273.0

ResourcePermissionProperty Struct ​

<p>Permission for the resource.</p>.

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.CfnFolder.ResourcePermissionProperty = {
  actions: ['actions'],
  principal: 'principal',
};

Properties ​

actionsstring[]actionstyping.List[str]actionsList<String>Actionsstring[]Actions*[]*stringrequired#
<p>The IAM action to grant or revoke permissions on.</p>.
principalstringprincipalstrprincipalStringPrincipalstringPrincipal*stringrequired#
<p>The Amazon Resource Name (ARN) of the principal.
notes

This can be one of the following:</p> <ul> <li> <p>The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)</p> </li> <li> <p>The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)</p> </li> <li> <p>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.) </p> </li> </ul>