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, DESCRIBE, 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, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
    },
  ],
  trusted_resource_owners: ["CatalogIdString"],
}

A structure representing a list of AWS Lake Formation principals designated as data lake administrators and lists of principal permission entries for default create database and default create table permissions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#create_database_default_permissionsArray<Types::PrincipalPermissions>

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

Returns:



403
404
405
406
407
408
409
410
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 403

class DataLakeSettings < Struct.new(
  :data_lake_admins,
  :create_database_default_permissions,
  :create_table_default_permissions,
  :trusted_resource_owners)
  SENSITIVE = []
  include Aws::Structure
end

#create_table_default_permissionsArray<Types::PrincipalPermissions>

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

Returns:



403
404
405
406
407
408
409
410
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 403

class DataLakeSettings < Struct.new(
  :data_lake_admins,
  :create_database_default_permissions,
  :create_table_default_permissions,
  :trusted_resource_owners)
  SENSITIVE = []
  include Aws::Structure
end

#data_lake_adminsArray<Types::DataLakePrincipal>

A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.

Returns:



403
404
405
406
407
408
409
410
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 403

class DataLakeSettings < Struct.new(
  :data_lake_admins,
  :create_database_default_permissions,
  :create_table_default_permissions,
  :trusted_resource_owners)
  SENSITIVE = []
  include Aws::Structure
end

#trusted_resource_ownersArray<String>

A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's AWS CloudTrail log.

You may want to specify this property when you are in a high-trust boundary, such as the same team or company.

Returns:

  • (Array<String>)


403
404
405
406
407
408
409
410
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 403

class DataLakeSettings < Struct.new(
  :data_lake_admins,
  :create_database_default_permissions,
  :create_table_default_permissions,
  :trusted_resource_owners)
  SENSITIVE = []
  include Aws::Structure
end