Class: Aws::LakeFormation::Types::DataLakeSettings

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 DataLakeSettings data as a hash:

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

The AWS Lake Formation principal.

Instance Attribute Summary collapse

Instance Attribute Details

#create_database_default_permissionsArray<Types::PrincipalPermissions>

A list of up to three principal permissions entries for default create database permissions.

Returns:



358
359
360
361
362
363
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 358

class DataLakeSettings < Struct.new(
  :data_lake_admins,
  :create_database_default_permissions,
  :create_table_default_permissions)
  include Aws::Structure
end

#create_table_default_permissionsArray<Types::PrincipalPermissions>

A list of up to three principal permissions entries for default create table permissions.

Returns:



358
359
360
361
362
363
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 358

class DataLakeSettings < Struct.new(
  :data_lake_admins,
  :create_database_default_permissions,
  :create_table_default_permissions)
  include Aws::Structure
end

#data_lake_adminsArray<Types::DataLakePrincipal>

A list of AWS Lake Formation principals.

Returns:



358
359
360
361
362
363
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 358

class DataLakeSettings < Struct.new(
  :data_lake_admins,
  :create_database_default_permissions,
  :create_table_default_permissions)
  include Aws::Structure
end