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
.hubAccessConfig(HubAccessConfigProperty.builder()
.hubContentArn("hubContentArn")
.build())
.modelAccessConfig(ModelAccessConfigProperty.builder()
.acceptEula(false)
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModel.ModelDataSourcePropertystatic final classAn implementation forCfnModel.ModelDataSourceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Specifies the S3 location of ML model data to deploy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getS3DataSource
Specifies the S3 location of ML model data to deploy.Returns union: either
IResolvableorCfnModel.S3DataSourceProperty- See Also:
-
builder
-