Class: Aws::LakeFormation::Types::Resource

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 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
  },
  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

Instance Attribute Details

#catalogTypes::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.

Returns:

  • (Types::CatalogResource)


2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2023

class Resource < Struct.new(
  :catalog,
  :database,
  :table,
  :table_with_columns,
  :data_location,
  :lf_tag,
  :lf_tag_policy)
  SENSITIVE = []
  include Aws::Structure
end

#data_locationTypes::DataLocationResource

The location of an Amazon S3 path where permissions are granted or revoked.



2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2023

class Resource < Struct.new(
  :catalog,
  :database,
  :table,
  :table_with_columns,
  :data_location,
  :lf_tag,
  :lf_tag_policy)
  SENSITIVE = []
  include Aws::Structure
end

#databaseTypes::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.



2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2023

class Resource < Struct.new(
  :catalog,
  :database,
  :table,
  :table_with_columns,
  :data_location,
  :lf_tag,
  :lf_tag_policy)
  SENSITIVE = []
  include Aws::Structure
end

#lf_tagTypes::LFTagKeyResource

The tag key and values attached to a resource.



2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2023

class Resource < Struct.new(
  :catalog,
  :database,
  :table,
  :table_with_columns,
  :data_location,
  :lf_tag,
  :lf_tag_policy)
  SENSITIVE = []
  include Aws::Structure
end

#lf_tag_policyTypes::LFTagPolicyResource

A list of tag conditions that define a resource's tag policy.



2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2023

class Resource < Struct.new(
  :catalog,
  :database,
  :table,
  :table_with_columns,
  :data_location,
  :lf_tag,
  :lf_tag_policy)
  SENSITIVE = []
  include Aws::Structure
end

#tableTypes::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.



2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2023

class Resource < Struct.new(
  :catalog,
  :database,
  :table,
  :table_with_columns,
  :data_location,
  :lf_tag,
  :lf_tag_policy)
  SENSITIVE = []
  include Aws::Structure
end

#table_with_columnsTypes::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.



2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2023

class Resource < Struct.new(
  :catalog,
  :database,
  :table,
  :table_with_columns,
  :data_location,
  :lf_tag,
  :lf_tag_policy)
  SENSITIVE = []
  include Aws::Structure
end