Interface CfnModel.ModelDataSourceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnModel.ModelDataSourceProperty.Jsii$Proxy
Enclosing class:
CfnModel

@Stability(Stable) public static interface CfnModel.ModelDataSourceProperty extends software.amazon.jsii.JsiiSerializable
Specifies the location of ML model data to deploy.

If specified, you must specify one and only one of the available data sources.

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.sagemaker.*;
 ModelDataSourceProperty modelDataSourceProperty = ModelDataSourceProperty.builder()
         .s3DataSource(S3DataSourceProperty.builder()
                 .compressionType("compressionType")
                 .s3DataType("s3DataType")
                 .s3Uri("s3Uri")
                 // the properties below are optional
                 .modelAccessConfig(ModelAccessConfigProperty.builder()
                         .acceptEula(false)
                         .build())
                 .build())
         .build();
 

See Also: