Class: AWSCDK::CleanRoomsML::CfnTrainingDataset::DataSourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
clean_rooms_ml/cfn_training_dataset.rb

Overview

Defines information about the Glue data source that contains the training data.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(glue_data_source:) ⇒ DataSourceProperty

Returns a new instance of DataSourceProperty.

Parameters:



622
623
624
625
# File 'clean_rooms_ml/cfn_training_dataset.rb', line 622

def initialize(glue_data_source:)
  @glue_data_source = glue_data_source.is_a?(Hash) ? ::AWSCDK::CleanRoomsML::CfnTrainingDataset::GlueDataSourceProperty.new(**glue_data_source.transform_keys(&:to_sym)) : glue_data_source
  Jsii::Type.check_type(@glue_data_source, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zbWwuQ2ZuVHJhaW5pbmdEYXRhc2V0LkdsdWVEYXRhU291cmNlUHJvcGVydHkifV19fQ==")), "glueDataSource")
end

Instance Attribute Details

#glue_data_sourceAWSCDK::IResolvable, AWSCDK::CleanRoomsML::CfnTrainingDataset::GlueDataSourceProperty (readonly)

A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.



631
632
633
# File 'clean_rooms_ml/cfn_training_dataset.rb', line 631

def glue_data_source
  @glue_data_source
end

Class Method Details

.jsii_propertiesObject



633
634
635
636
637
# File 'clean_rooms_ml/cfn_training_dataset.rb', line 633

def self.jsii_properties
  {
    :glue_data_source => "glueDataSource",
  }
end

Instance Method Details

#to_jsiiObject



639
640
641
642
643
644
645
# File 'clean_rooms_ml/cfn_training_dataset.rb', line 639

def to_jsii
  result = {}
  result.merge!({
    "glueDataSource" => @glue_data_source,
  })
  result.compact
end