ModelDataSourceProperty Struct
Specifies the location of ML model data to deploy.
If specified, you must specify one and only one of the available data sources.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const modelDataSourceProperty: sagemaker.CfnModelPackage.ModelDataSourceProperty = {
s3DataSource: {
compressionType: 'compressionType',
s3DataType: 's3DataType',
s3Uri: 's3Uri',
// the properties below are optional
modelAccessConfig: {
acceptEula: false,
},
},
};
Properties
s3DataSourceoptionalIResolvable | CfnModelPackage.S3ModelDataSourcePropertys3_data_sourceoptionaltyping.Union[IResolvable, S3ModelDataSourceProperty]s3DataSourceoptionalIResolvableS3DataSourceoptionalIResolvableS3DataSourceoptionalinterface{}#Specifies the S3 location of ML model data to deploy.