Interface CfnTrainingDataset.DatasetInputConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrainingDataset.DatasetInputConfigProperty.Jsii$Proxy
- Enclosing class:
CfnTrainingDataset
@Stability(Stable)
public static interface CfnTrainingDataset.DatasetInputConfigProperty
extends software.amazon.jsii.JsiiSerializable
Defines the Glue data source and schema mapping information.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cleanroomsml.*;
DatasetInputConfigProperty datasetInputConfigProperty = DatasetInputConfigProperty.builder()
.dataSource(DataSourceProperty.builder()
.glueDataSource(GlueDataSourceProperty.builder()
.databaseName("databaseName")
.tableName("tableName")
// the properties below are optional
.catalogId("catalogId")
.build())
.build())
.schema(List.of(ColumnSchemaProperty.builder()
.columnName("columnName")
.columnTypes(List.of("columnTypes"))
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTrainingDataset.DatasetInputConfigPropertystatic final classAn implementation forCfnTrainingDataset.DatasetInputConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A DataSource object that specifies the Glue data source for the training data.The schema information for the training data.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataSource
A DataSource object that specifies the Glue data source for the training data.Returns union: either
IResolvableorCfnTrainingDataset.DataSourceProperty- See Also:
-
getSchema
The schema information for the training data.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTrainingDataset.ColumnSchemaProperty>- See Also:
-
builder
-