Interface CfnModelPackage.ModelDataSourceProperty

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

@Stability(Stable) public static interface CfnModelPackage.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(S3ModelDataSourceProperty.builder()
                 .compressionType("compressionType")
                 .s3DataType("s3DataType")
                 .s3Uri("s3Uri")
                 // the properties below are optional
                 .modelAccessConfig(ModelAccessConfigProperty.builder()
                         .acceptEula(false)
                         .build())
                 .build())
         .build();
 

See Also: