Class: AWSCDK::Glue::CfnTable::TableIdentifierProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnTable::TableIdentifierProperty
- Defined in:
- glue/cfn_table.rb
Overview
A structure that describes a target table for resource linking.
Instance Attribute Summary collapse
-
#catalog_id ⇒ String?
readonly
The ID of the Data Catalog in which the table resides.
-
#database_name ⇒ String?
readonly
The name of the catalog database that contains the target table.
-
#name ⇒ String?
readonly
The name of the target table.
-
#region ⇒ String?
readonly
The Region of the table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(catalog_id: nil, database_name: nil, name: nil, region: nil) ⇒ TableIdentifierProperty
constructor
A new instance of TableIdentifierProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(catalog_id: nil, database_name: nil, name: nil, region: nil) ⇒ TableIdentifierProperty
Returns a new instance of TableIdentifierProperty.
1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 |
# File 'glue/cfn_table.rb', line 1478 def initialize(catalog_id: nil, database_name: nil, name: nil, region: nil) @catalog_id = catalog_id Jsii::Type.check_type(@catalog_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "catalogId") unless @catalog_id.nil? @database_name = database_name Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName") unless @database_name.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @region = region Jsii::Type.check_type(@region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "region") unless @region.nil? end |
Instance Attribute Details
#catalog_id ⇒ String? (readonly)
The ID of the Data Catalog in which the table resides.
1493 1494 1495 |
# File 'glue/cfn_table.rb', line 1493 def catalog_id @catalog_id end |
#database_name ⇒ String? (readonly)
The name of the catalog database that contains the target table.
1498 1499 1500 |
# File 'glue/cfn_table.rb', line 1498 def database_name @database_name end |
#name ⇒ String? (readonly)
The name of the target table.
1503 1504 1505 |
# File 'glue/cfn_table.rb', line 1503 def name @name end |
#region ⇒ String? (readonly)
The Region of the table.
1508 1509 1510 |
# File 'glue/cfn_table.rb', line 1508 def region @region end |
Class Method Details
.jsii_properties ⇒ Object
1510 1511 1512 1513 1514 1515 1516 1517 |
# File 'glue/cfn_table.rb', line 1510 def self.jsii_properties { :catalog_id => "catalogId", :database_name => "databaseName", :name => "name", :region => "region", } end |
Instance Method Details
#to_jsii ⇒ Object
1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 |
# File 'glue/cfn_table.rb', line 1519 def to_jsii result = {} result.merge!({ "catalogId" => @catalog_id, "databaseName" => @database_name, "name" => @name, "region" => @region, }) result.compact end |