Class: Aws::LakeFormation::Types::Resource
- Inherits:
-
Struct
- Object
- Struct
- Aws::LakeFormation::Types::Resource
- Defined in:
- gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb
Overview
When making an API call, you may pass Resource data as a 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
},
data_cells_filter: {
table_catalog_id: "CatalogIdString",
database_name: "NameString",
table_name: "NameString",
name: "NameString",
},
lf_tag: {
catalog_id: "CatalogIdString",
tag_key: "NameString", # required
tag_values: ["LFTagValue"], # required
},
lf_tag_policy: {
catalog_id: "CatalogIdString",
resource_type: "DATABASE", # required, accepts DATABASE, TABLE
expression: [ # required
{
tag_key: "LFTagKey", # required
tag_values: ["LFTagValue"], # required
},
],
},
}
A structure for the resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#catalog ⇒ Types::CatalogResource
The identifier for the Data Catalog.
-
#data_cells_filter ⇒ Types::DataCellsFilterResource
A data cell filter.
-
#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.
-
#lf_tag ⇒ Types::LFTagKeyResource
The LF-tag key and values attached to a resource.
-
#lf_tag_policy ⇒ Types::LFTagPolicyResource
A list of LF-tag conditions that define a resource's LF-tag policy.
-
#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 Lake Formation environment.
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3459 class Resource < Struct.new( :catalog, :database, :table, :table_with_columns, :data_location, :data_cells_filter, :lf_tag, :lf_tag_policy) SENSITIVE = [] include Aws::Structure end |
#data_cells_filter ⇒ Types::DataCellsFilterResource
A data cell filter.
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3459 class Resource < Struct.new( :catalog, :database, :table, :table_with_columns, :data_location, :data_cells_filter, :lf_tag, :lf_tag_policy) SENSITIVE = [] include Aws::Structure end |
#data_location ⇒ Types::DataLocationResource
The location of an Amazon S3 path where permissions are granted or revoked.
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3459 class Resource < Struct.new( :catalog, :database, :table, :table_with_columns, :data_location, :data_cells_filter, :lf_tag, :lf_tag_policy) SENSITIVE = [] include Aws::Structure end |
#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.
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3459 class Resource < Struct.new( :catalog, :database, :table, :table_with_columns, :data_location, :data_cells_filter, :lf_tag, :lf_tag_policy) SENSITIVE = [] include Aws::Structure end |
#lf_tag ⇒ Types::LFTagKeyResource
The LF-tag key and values attached to a resource.
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3459 class Resource < Struct.new( :catalog, :database, :table, :table_with_columns, :data_location, :data_cells_filter, :lf_tag, :lf_tag_policy) SENSITIVE = [] include Aws::Structure end |
#lf_tag_policy ⇒ Types::LFTagPolicyResource
A list of LF-tag conditions that define a resource's LF-tag policy.
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3459 class Resource < Struct.new( :catalog, :database, :table, :table_with_columns, :data_location, :data_cells_filter, :lf_tag, :lf_tag_policy) SENSITIVE = [] include Aws::Structure end |
#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.
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3459 class Resource < Struct.new( :catalog, :database, :table, :table_with_columns, :data_location, :data_cells_filter, :lf_tag, :lf_tag_policy) SENSITIVE = [] include Aws::Structure end |
#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.
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3459 class Resource < Struct.new( :catalog, :database, :table, :table_with_columns, :data_location, :data_cells_filter, :lf_tag, :lf_tag_policy) SENSITIVE = [] include Aws::Structure end |