interface FileSourceProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnModelPackage.FileSourceProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnModelPackage.FileSourceProperty |
Python | aws_cdk.aws_sagemaker.CfnModelPackage.FileSourceProperty |
TypeScript | @aws-cdk/aws-sagemaker » CfnModelPackage » FileSourceProperty |
Contains details regarding the file source.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sagemaker from '@aws-cdk/aws-sagemaker';
const fileSourceProperty: sagemaker.CfnModelPackage.FileSourceProperty = {
s3Uri: 's3Uri',
// the properties below are optional
contentDigest: 'contentDigest',
contentType: 'contentType',
};
Properties
Name | Type | Description |
---|---|---|
s3 | string | The Amazon S3 URI for the file source. |
content | string | The digest of the file source. |
content | string | The type of content stored in the file source. |
s3Uri
Type:
string
The Amazon S3 URI for the file source.
contentDigest?
Type:
string
(optional)
The digest of the file source.
contentType?
Type:
string
(optional)
The type of content stored in the file source.