Class: AWSCDK::CleanRooms::CfnConfiguredTable::TableReferenceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
clean_rooms/cfn_configured_table.rb

Overview

A pointer to the dataset that underlies this table.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(athena: nil, glue: nil, snowflake: nil) ⇒ TableReferenceProperty

Returns a new instance of TableReferenceProperty.

Parameters:



1478
1479
1480
1481
1482
1483
1484
1485
# File 'clean_rooms/cfn_configured_table.rb', line 1478

def initialize(athena: nil, glue: nil, snowflake: nil)
  @athena = athena.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTable::AthenaTableReferenceProperty.new(**athena.transform_keys(&:to_sym)) : athena
  Jsii::Type.check_type(@athena, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZS5BdGhlbmFUYWJsZVJlZmVyZW5jZVByb3BlcnR5In1dfX0=")), "athena") unless @athena.nil?
  @glue = glue.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTable::GlueTableReferenceProperty.new(**glue.transform_keys(&:to_sym)) : glue
  Jsii::Type.check_type(@glue, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZS5HbHVlVGFibGVSZWZlcmVuY2VQcm9wZXJ0eSJ9XX19")), "glue") unless @glue.nil?
  @snowflake = snowflake.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTable::SnowflakeTableReferenceProperty.new(**snowflake.transform_keys(&:to_sym)) : snowflake
  Jsii::Type.check_type(@snowflake, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZS5Tbm93Zmxha2VUYWJsZVJlZmVyZW5jZVByb3BlcnR5In1dfX0=")), "snowflake") unless @snowflake.nil?
end

Instance Attribute Details

#athenaAWSCDK::IResolvable, ... (readonly)

If present, a reference to the Athena table referred to by this table reference.



1491
1492
1493
# File 'clean_rooms/cfn_configured_table.rb', line 1491

def athena
  @athena
end

#glueAWSCDK::IResolvable, ... (readonly)

If present, a reference to the AWS Glue table referred to by this table reference.



1496
1497
1498
# File 'clean_rooms/cfn_configured_table.rb', line 1496

def glue
  @glue
end

#snowflakeAWSCDK::IResolvable, ... (readonly)

If present, a reference to the Snowflake table referred to by this table reference.



1501
1502
1503
# File 'clean_rooms/cfn_configured_table.rb', line 1501

def snowflake
  @snowflake
end

Class Method Details

.jsii_propertiesObject



1503
1504
1505
1506
1507
1508
1509
# File 'clean_rooms/cfn_configured_table.rb', line 1503

def self.jsii_properties
  {
    :athena => "athena",
    :glue => "glue",
    :snowflake => "snowflake",
  }
end

Instance Method Details

#to_jsiiObject



1511
1512
1513
1514
1515
1516
1517
1518
1519
# File 'clean_rooms/cfn_configured_table.rb', line 1511

def to_jsii
  result = {}
  result.merge!({
    "athena" => @athena,
    "glue" => @glue,
    "snowflake" => @snowflake,
  })
  result.compact
end