Skip to content
v2.274.0

MetricsSourceProperty Struct ​

Details about the metrics source.

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 metricsSourceProperty: sagemaker.CfnModelPackage.MetricsSourceProperty = {
  contentType: 'contentType',
  s3Uri: 's3Uri',

  // the properties below are optional
  contentDigest: 'contentDigest',
};

Properties ​

contentDigeststringcontent_digeststrcontentDigestStringContentDigeststringContentDigest*string#
The hash key used for the metrics source.
contentTypestringcontent_typestrcontentTypeStringContentTypestringContentType*stringrequired#
The metric source content type.
s3Uristrings3_uristrs3UriStringS3UristringS3Uri*stringrequired#
The S3 URI for the metrics source.