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

Class: Aws::LakeFormation::Types::BatchPermissionsRequestEntry

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing BatchPermissionsRequestEntry as input to an Aws::Client method, you can use a vanilla Hash:

{
  id: "Identifier", # required
  principal: {
    data_lake_principal_identifier: "DataLakePrincipalString",
  },
  resource: {
    catalog: {
    },
    database: {
      name: "NameString", # required
    },
    table: {
      database_name: "NameString", # required
      name: "NameString", # required
    },
    table_with_columns: {
      database_name: "NameString",
      name: "NameString",
      column_names: ["NameString"],
      column_wildcard: {
        excluded_column_names: ["NameString"],
      },
    },
    data_location: {
      resource_arn: "ResourceArnString", # required
    },
  },
  permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
  permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
}

A permission to a resource granted by batch operation to the principal.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#idString

A unique identifier for the batch permissions request entry.

Returns:

  • (String)

    A unique identifier for the batch permissions request entry.

#permissionsArray<String>

The permissions to be granted.

Returns:

  • (Array<String>)

    The permissions to be granted.

#permissions_with_grant_optionArray<String>

Indicates if the option to pass permissions is granted.

Returns:

  • (Array<String>)

    Indicates if the option to pass permissions is granted.

#principalTypes::DataLakePrincipal

The principal to be granted a permission.

Returns:

#resourceTypes::Resource

The resource to which the principal is to be granted a permission.

Returns:

  • (Types::Resource)

    The resource to which the principal is to be granted a permission.