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
- Struct
- Aws::QuickSight::Types::ResourcePermission
- Defined in:
- (unknown)
Overview
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
-
#actions ⇒ Array<String>
The IAM action to grant or revoke permissions on.
-
#principal ⇒ String
The Amazon Resource Name (ARN) of the principal.
Instance Attribute Details
#actions ⇒ Array<String>
The IAM action to grant or revoke permissions on.
#principal ⇒ 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 QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)