aws-cdk-lib.aws_quicksight.CfnTemplate.ResourcePermissionProperty

interface ResourcePermissionProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnTemplate.ResourcePermissionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_ResourcePermissionProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnTemplate.ResourcePermissionProperty
Pythonaws_cdk.aws_quicksight.CfnTemplate.ResourcePermissionProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnTemplate » 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.CfnTemplate.ResourcePermissionProperty = {
  actions: ['actions'],
  principal: 'principal',

  // the properties below are optional
  resource: 'resource',
};

Properties

NameTypeDescription
actionsstring[]The IAM action to grant or revoke permissions on.
principalstringThe Amazon Resource Name (ARN) of the principal. This can be one of the following:.
resource?stringCfnTemplate.ResourcePermissionProperty.Resource.

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 AWS account root: This is an IAM ARN rather than a Amazon QuickSight ARN. Use this option only to share resources (templates) across AWS accounts . (This is less common.)

resource?

Type: string (optional)

CfnTemplate.ResourcePermissionProperty.Resource.