Class: AWSCDK::CleanRooms::CfnConfiguredTable::SnowflakeTableSchemaV1Property
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnConfiguredTable::SnowflakeTableSchemaV1Property
- Defined in:
- clean_rooms/cfn_configured_table.rb
Overview
The Snowflake table schema.
Instance Attribute Summary collapse
-
#column_name ⇒ String
readonly
The column name.
-
#column_type ⇒ String
readonly
The column's data type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_name:, column_type:) ⇒ SnowflakeTableSchemaV1Property
constructor
A new instance of SnowflakeTableSchemaV1Property.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_name:, column_type:) ⇒ SnowflakeTableSchemaV1Property
Returns a new instance of SnowflakeTableSchemaV1Property.
1432 1433 1434 1435 1436 1437 |
# File 'clean_rooms/cfn_configured_table.rb', line 1432 def initialize(column_name:, column_type:) @column_name = column_name Jsii::Type.check_type(@column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnName") @column_type = column_type Jsii::Type.check_type(@column_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnType") end |
Instance Attribute Details
#column_name ⇒ String (readonly)
The column name.
1443 1444 1445 |
# File 'clean_rooms/cfn_configured_table.rb', line 1443 def column_name @column_name end |
#column_type ⇒ String (readonly)
The column's data type.
Supported data types: ARRAY , BIGINT , BOOLEAN , CHAR , DATE , DECIMAL , DOUBLE , DOUBLE PRECISION , FLOAT , FLOAT4 , INT , INTEGER , MAP , NUMERIC , NUMBER , REAL , SMALLINT , STRING , TIMESTAMP , TIMESTAMP_LTZ , TIMESTAMP_NTZ , DATETIME , TINYINT , VARCHAR , TEXT , CHARACTER .
1450 1451 1452 |
# File 'clean_rooms/cfn_configured_table.rb', line 1450 def column_type @column_type end |
Class Method Details
.jsii_properties ⇒ Object
1452 1453 1454 1455 1456 1457 |
# File 'clean_rooms/cfn_configured_table.rb', line 1452 def self.jsii_properties { :column_name => "columnName", :column_type => "columnType", } end |
Instance Method Details
#to_jsii ⇒ Object
1459 1460 1461 1462 1463 1464 1465 1466 |
# File 'clean_rooms/cfn_configured_table.rb', line 1459 def to_jsii result = {} result.merge!({ "columnName" => @column_name, "columnType" => @column_type, }) result.compact end |