Class: AWSCDK::CleanRooms::CfnConfiguredTable::SnowflakeTableReferenceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnConfiguredTable::SnowflakeTableReferenceProperty
- Defined in:
- clean_rooms/cfn_configured_table.rb
Overview
A reference to a table within Snowflake.
Instance Attribute Summary collapse
-
#account_identifier ⇒ String
readonly
The account identifier for the Snowflake table reference.
-
#database_name ⇒ String
readonly
The name of the database the Snowflake table belongs to.
-
#schema_name ⇒ String
readonly
The schema name of the Snowflake table reference.
-
#secret_arn ⇒ String
readonly
The secret ARN of the Snowflake table reference.
-
#table_name ⇒ String
readonly
The name of the Snowflake table.
-
#table_schema ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnConfiguredTable::SnowflakeTableSchemaProperty
readonly
The schema of the Snowflake table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_identifier:, database_name:, schema_name:, secret_arn:, table_name:, table_schema:) ⇒ SnowflakeTableReferenceProperty
constructor
A new instance of SnowflakeTableReferenceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(account_identifier:, database_name:, schema_name:, secret_arn:, table_name:, table_schema:) ⇒ SnowflakeTableReferenceProperty
Returns a new instance of SnowflakeTableReferenceProperty.
1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 |
# File 'clean_rooms/cfn_configured_table.rb', line 1320 def initialize(account_identifier:, database_name:, schema_name:, secret_arn:, table_name:, table_schema:) @account_identifier = account_identifier Jsii::Type.check_type(@account_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accountIdentifier") @database_name = database_name Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName") @schema_name = schema_name Jsii::Type.check_type(@schema_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "schemaName") @secret_arn = secret_arn Jsii::Type.check_type(@secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretArn") @table_name = table_name Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") @table_schema = table_schema.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTable::SnowflakeTableSchemaProperty.new(**table_schema.transform_keys(&:to_sym)) : table_schema Jsii::Type.check_type(@table_schema, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZS5Tbm93Zmxha2VUYWJsZVNjaGVtYVByb3BlcnR5In1dfX0=")), "tableSchema") end |
Instance Attribute Details
#account_identifier ⇒ String (readonly)
The account identifier for the Snowflake table reference.
1339 1340 1341 |
# File 'clean_rooms/cfn_configured_table.rb', line 1339 def account_identifier @account_identifier end |
#database_name ⇒ String (readonly)
The name of the database the Snowflake table belongs to.
1344 1345 1346 |
# File 'clean_rooms/cfn_configured_table.rb', line 1344 def database_name @database_name end |
#schema_name ⇒ String (readonly)
The schema name of the Snowflake table reference.
1349 1350 1351 |
# File 'clean_rooms/cfn_configured_table.rb', line 1349 def schema_name @schema_name end |
#secret_arn ⇒ String (readonly)
The secret ARN of the Snowflake table reference.
1354 1355 1356 |
# File 'clean_rooms/cfn_configured_table.rb', line 1354 def secret_arn @secret_arn end |
#table_name ⇒ String (readonly)
The name of the Snowflake table.
1359 1360 1361 |
# File 'clean_rooms/cfn_configured_table.rb', line 1359 def table_name @table_name end |
#table_schema ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnConfiguredTable::SnowflakeTableSchemaProperty (readonly)
The schema of the Snowflake table.
1364 1365 1366 |
# File 'clean_rooms/cfn_configured_table.rb', line 1364 def table_schema @table_schema end |
Class Method Details
.jsii_properties ⇒ Object
1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 |
# File 'clean_rooms/cfn_configured_table.rb', line 1366 def self.jsii_properties { :account_identifier => "accountIdentifier", :database_name => "databaseName", :schema_name => "schemaName", :secret_arn => "secretArn", :table_name => "tableName", :table_schema => "tableSchema", } end |
Instance Method Details
#to_jsii ⇒ Object
1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 |
# File 'clean_rooms/cfn_configured_table.rb', line 1377 def to_jsii result = {} result.merge!({ "accountIdentifier" => @account_identifier, "databaseName" => @database_name, "schemaName" => @schema_name, "secretArn" => @secret_arn, "tableName" => @table_name, "tableSchema" => @table_schema, }) result.compact end |