Class: AWSCDK::LakeFormation::CfnTagAssociation::TableResourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LakeFormation::CfnTagAssociation::TableResourceProperty
- Defined in:
- lake_formation/cfn_tag_association.rb
Overview
A structure for the table object.
A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
Instance Attribute Summary collapse
-
#catalog_id ⇒ String
readonly
The identifier for the Data Catalog .
-
#database_name ⇒ String
readonly
The name of the database for the table.
-
#name ⇒ String?
readonly
The name of the table.
-
#table_wildcard ⇒ Object?
readonly
A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(catalog_id:, database_name:, name: nil, table_wildcard: nil) ⇒ TableResourceProperty
constructor
A new instance of TableResourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(catalog_id:, database_name:, name: nil, table_wildcard: nil) ⇒ TableResourceProperty
Returns a new instance of TableResourceProperty.
709 710 711 712 713 714 715 716 717 718 |
# File 'lake_formation/cfn_tag_association.rb', line 709 def initialize(catalog_id:, database_name:, name: nil, table_wildcard: nil) @catalog_id = catalog_id Jsii::Type.check_type(@catalog_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "catalogId") @database_name = database_name Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @table_wildcard = table_wildcard Jsii::Type.check_type(@table_wildcard, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "tableWildcard") unless @table_wildcard.nil? end |
Instance Attribute Details
#catalog_id ⇒ String (readonly)
The identifier for the Data Catalog .
By default, it is the account ID of the caller.
726 727 728 |
# File 'lake_formation/cfn_tag_association.rb', line 726 def catalog_id @catalog_id end |
#database_name ⇒ String (readonly)
The name of the database for the table.
Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
733 734 735 |
# File 'lake_formation/cfn_tag_association.rb', line 733 def database_name @database_name end |
#name ⇒ String? (readonly)
The name of the table.
738 739 740 |
# File 'lake_formation/cfn_tag_association.rb', line 738 def name @name end |
#table_wildcard ⇒ Object? (readonly)
A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter. The valid inputs for a property with this type in either yaml or json is null or {}.
At least one of TableResource$Name or TableResource$TableWildcard is required.
745 746 747 |
# File 'lake_formation/cfn_tag_association.rb', line 745 def table_wildcard @table_wildcard end |
Class Method Details
.jsii_properties ⇒ Object
747 748 749 750 751 752 753 754 |
# File 'lake_formation/cfn_tag_association.rb', line 747 def self.jsii_properties { :catalog_id => "catalogId", :database_name => "databaseName", :name => "name", :table_wildcard => "tableWildcard", } end |
Instance Method Details
#to_jsii ⇒ Object
756 757 758 759 760 761 762 763 764 765 |
# File 'lake_formation/cfn_tag_association.rb', line 756 def to_jsii result = {} result.merge!({ "catalogId" => @catalog_id, "databaseName" => @database_name, "name" => @name, "tableWildcard" => @table_wildcard, }) result.compact end |