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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb

Overview

Note:

When making an API call, you may pass ResourcePermission data as a hash:

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

Permission for the resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<String>

The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

Returns:

  • (Array<String>)


7456
7457
7458
7459
7460
7461
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 7456

class ResourcePermission < Struct.new(
  :principal,
  :actions)
  SENSITIVE = []
  include Aws::Structure
end

#principalString

The Amazon Resource Name (ARN) of the principal. This can be one of the following:

  • The ARN of an Amazon QuickSight user, group, or namespace. (This is most 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)


7456
7457
7458
7459
7460
7461
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 7456

class ResourcePermission < Struct.new(
  :principal,
  :actions)
  SENSITIVE = []
  include Aws::Structure
end