Class: AWSCDK::CleanRoomsML::CfnTrainingDataset::GlueDataSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRoomsML::CfnTrainingDataset::GlueDataSourceProperty
- Defined in:
- clean_rooms_ml/cfn_training_dataset.rb
Overview
Defines the Glue data source that contains the training data.
Instance Attribute Summary collapse
-
#catalog_id ⇒ String?
readonly
The Glue catalog that contains the training data.
-
#database_name ⇒ String
readonly
The Glue database that contains the training data.
-
#table_name ⇒ String
readonly
The Glue table that contains the training data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(database_name:, table_name:, catalog_id: nil) ⇒ GlueDataSourceProperty
constructor
A new instance of GlueDataSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database_name:, table_name:, catalog_id: nil) ⇒ GlueDataSourceProperty
Returns a new instance of GlueDataSourceProperty.
743 744 745 746 747 748 749 750 |
# File 'clean_rooms_ml/cfn_training_dataset.rb', line 743 def initialize(database_name:, table_name:, catalog_id: 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") @catalog_id = catalog_id Jsii::Type.check_type(@catalog_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "catalogId") unless @catalog_id.nil? end |
Instance Attribute Details
#catalog_id ⇒ String? (readonly)
The Glue catalog that contains the training data.
766 767 768 |
# File 'clean_rooms_ml/cfn_training_dataset.rb', line 766 def catalog_id @catalog_id end |
#database_name ⇒ String (readonly)
The Glue database that contains the training data.
756 757 758 |
# File 'clean_rooms_ml/cfn_training_dataset.rb', line 756 def database_name @database_name end |
#table_name ⇒ String (readonly)
The Glue table that contains the training data.
761 762 763 |
# File 'clean_rooms_ml/cfn_training_dataset.rb', line 761 def table_name @table_name end |
Class Method Details
.jsii_properties ⇒ Object
768 769 770 771 772 773 774 |
# File 'clean_rooms_ml/cfn_training_dataset.rb', line 768 def self.jsii_properties { :database_name => "databaseName", :table_name => "tableName", :catalog_id => "catalogId", } end |
Instance Method Details
#to_jsii ⇒ Object
776 777 778 779 780 781 782 783 784 |
# File 'clean_rooms_ml/cfn_training_dataset.rb', line 776 def to_jsii result = {} result.merge!({ "databaseName" => @database_name, "tableName" => @table_name, "catalogId" => @catalog_id, }) result.compact end |