You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::QuickSight::Types::ResourcePermission

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ResourcePermission as input to an Aws::Client method, you can use a vanilla Hash:

{
  principal: "Principal", # required
  actions: ["String"], # required
}

Permission for the resource.

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<String>

The IAM action to grant or revoke permissions on.

Returns:

  • (Array<String>)

    The IAM action to grant or revoke permissions on.

#principalString

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 QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the principal.