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:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModelPackage.ModelDataSourcePropertystatic final classAn implementation forCfnModelPackage.ModelDataSourceProperty
- 
Method SummaryMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getS3DataSourceSpecifies the S3 location of ML model data to deploy.Returns union: either IResolvableorCfnModelPackage.S3ModelDataSourceProperty- See Also:
 
- 
builder
 
-