interface ModelDataSourceProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.CfnModel.ModelDataSourceProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnModel_ModelDataSourceProperty |
![]() | software.amazon.awscdk.services.sagemaker.CfnModel.ModelDataSourceProperty |
![]() | aws_cdk.aws_sagemaker.CfnModel.ModelDataSourceProperty |
![]() | aws-cdk-lib » aws_sagemaker » CfnModel » ModelDataSourceProperty |
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 { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const modelDataSourceProperty: sagemaker.CfnModel.ModelDataSourceProperty = {
s3DataSource: {
compressionType: 'compressionType',
s3DataType: 's3DataType',
s3Uri: 's3Uri',
// the properties below are optional
hubAccessConfig: {
hubContentArn: 'hubContentArn',
},
modelAccessConfig: {
acceptEula: false,
},
},
};
Properties
Name | Type | Description |
---|---|---|
s3 | IResolvable | S3 | Specifies the S3 location of ML model data to deploy. |
s3DataSource
Type:
IResolvable
|
S3
Specifies the S3 location of ML model data to deploy.