You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::LakeFormation::Types::Resource
- Inherits:
-
Struct
- Object
- Struct
- Aws::LakeFormation::Types::Resource
- Defined in:
- (unknown)
Overview
When passing Resource as input to an Aws::Client method, you can use a vanilla Hash:
{
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
},
}
A structure for the resource.
Returned by:
Instance Attribute Summary collapse
-
#catalog ⇒ Types::CatalogResource
The identifier for the Data Catalog.
-
#data_location ⇒ Types::DataLocationResource
The location of an Amazon S3 path where permissions are granted or revoked.
-
#database ⇒ Types::DatabaseResource
The database for the resource.
-
#table ⇒ Types::TableResource
The table for the resource.
-
#table_with_columns ⇒ Types::TableWithColumnsResource
The table with columns for the resource.
Instance Attribute Details
#catalog ⇒ Types::CatalogResource
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.
#data_location ⇒ Types::DataLocationResource
The location of an Amazon S3 path where permissions are granted or revoked.
#database ⇒ Types::DatabaseResource
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
#table ⇒ Types::TableResource
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
#table_with_columns ⇒ Types::TableWithColumnsResource
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.