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

Class: Aws::Glue::Types::PrincipalPermissions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/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, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
}

Permissions granted to a principal.

Instance Attribute Summary collapse

Instance Attribute Details

#permissionsArray<String>

The permissions that are granted to the principal.

Returns:

  • (Array<String>)


8850
8851
8852
8853
8854
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8850

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

#principalTypes::DataLakePrincipal

The principal who is granted permissions.



8850
8851
8852
8853
8854
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 8850

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