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
- Struct
- Aws::LakeFormation::Types::BatchPermissionsRequestEntry
- Defined in:
- (unknown)
Overview
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: {
catalog_id: "CatalogIdString",
name: "NameString", # required
},
table: {
catalog_id: "CatalogIdString",
database_name: "NameString", # required
name: "NameString",
table_wildcard: {
},
},
table_with_columns: {
catalog_id: "CatalogIdString",
database_name: "NameString", # required
name: "NameString", # required
column_names: ["NameString"],
column_wildcard: {
excluded_column_names: ["NameString"],
},
},
data_location: {
catalog_id: "CatalogIdString",
resource_arn: "ResourceArnString", # required
},
},
permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, 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
-
#id ⇒ String
A unique identifier for the batch permissions request entry.
-
#permissions ⇒ Array<String>
The permissions to be granted.
-
#permissions_with_grant_option ⇒ Array<String>
Indicates if the option to pass permissions is granted.
-
#principal ⇒ Types::DataLakePrincipal
The principal to be granted a permission.
-
#resource ⇒ Types::Resource
The resource to which the principal is to be granted a permission.
Instance Attribute Details
#id ⇒ String
A unique identifier for the batch permissions request entry.
#permissions ⇒ Array<String>
The permissions to be granted.
#permissions_with_grant_option ⇒ Array<String>
Indicates if the option to pass permissions is granted.
#principal ⇒ Types::DataLakePrincipal
The principal to be granted a permission.
#resource ⇒ Types::Resource
The resource to which the principal is to be granted a permission.