Class: AWSCDK::CleanRooms::CfnConfiguredTable::GlueTableReferenceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnConfiguredTable::GlueTableReferenceProperty
- Defined in:
- clean_rooms/cfn_configured_table.rb
Overview
A reference to a table within an AWS Glue data catalog.
Instance Attribute Summary collapse
-
#database_name ⇒ String
readonly
The name of the database the AWS Glue table belongs to.
-
#region ⇒ String?
readonly
The AWS Region where the AWS Glue table is located.
-
#table_name ⇒ String
readonly
The name of the AWS Glue table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(database_name:, table_name:, region: nil) ⇒ GlueTableReferenceProperty
constructor
A new instance of GlueTableReferenceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database_name:, table_name:, region: nil) ⇒ GlueTableReferenceProperty
Returns a new instance of GlueTableReferenceProperty.
1262 1263 1264 1265 1266 1267 1268 1269 |
# File 'clean_rooms/cfn_configured_table.rb', line 1262 def initialize(database_name:, table_name:, region: nil) @database_name = database_name Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName") @table_name = table_name Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") @region = region Jsii::Type.check_type(@region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "region") unless @region.nil? end |
Instance Attribute Details
#database_name ⇒ String (readonly)
The name of the database the AWS Glue table belongs to.
1275 1276 1277 |
# File 'clean_rooms/cfn_configured_table.rb', line 1275 def database_name @database_name end |
#region ⇒ String? (readonly)
The AWS Region where the AWS Glue table is located.
This parameter is required to uniquely identify and access tables across different Regions.
1287 1288 1289 |
# File 'clean_rooms/cfn_configured_table.rb', line 1287 def region @region end |
#table_name ⇒ String (readonly)
The name of the AWS Glue table.
1280 1281 1282 |
# File 'clean_rooms/cfn_configured_table.rb', line 1280 def table_name @table_name end |
Class Method Details
.jsii_properties ⇒ Object
1289 1290 1291 1292 1293 1294 1295 |
# File 'clean_rooms/cfn_configured_table.rb', line 1289 def self.jsii_properties { :database_name => "databaseName", :table_name => "tableName", :region => "region", } end |
Instance Method Details
#to_jsii ⇒ Object
1297 1298 1299 1300 1301 1302 1303 1304 1305 |
# File 'clean_rooms/cfn_configured_table.rb', line 1297 def to_jsii result = {} result.merge!({ "databaseName" => @database_name, "tableName" => @table_name, "region" => @region, }) result.compact end |