Class: Aws::LakeFormation::Types::PutDataLakeSettingsRequest

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

{
  catalog_id: "CatalogIdString",
  data_lake_settings: { # required
    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
      },
    ],
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.

Returns:

  • (String)


992
993
994
995
996
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 992

class PutDataLakeSettingsRequest < Struct.new(
  :catalog_id,
  :data_lake_settings)
  include Aws::Structure
end

#data_lake_settingsTypes::DataLakeSettings

A list of AWS Lake Formation principals.



992
993
994
995
996
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 992

class PutDataLakeSettingsRequest < Struct.new(
  :catalog_id,
  :data_lake_settings)
  include Aws::Structure
end