Class: Aws::LakeFormation::Types::PrincipalPermissions

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

Overview

Note:

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

{
  principal: {
    data_lake_principal_identifier: "DataLakePrincipalString",
  },
  permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
}

Permissions granted to a principal.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#permissionsArray<String>

The permissions that are granted to the principal.

Returns:

  • (Array<String>)


1029
1030
1031
1032
1033
1034
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1029

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

#principalTypes::DataLakePrincipal

The principal who is granted permissions.



1029
1030
1031
1032
1033
1034
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1029

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