MetricsSourceProperty Struct
Details about the metrics source.
| Source | |
|---|---|
| Type last changed |
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
metrics_source_property = sagemaker.CfnModelPackage.MetricsSourceProperty(
content_type="contentType",
s3_uri="s3Uri",
# the properties below are optional
content_digest="contentDigest"
)
java
// 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.*;
MetricsSourceProperty metricsSourceProperty = MetricsSourceProperty.builder()
.contentType("contentType")
.s3Uri("s3Uri")
// the properties below are optional
.contentDigest("contentDigest")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var metricsSourceProperty = new MetricsSourceProperty {
ContentType = "contentType",
S3Uri = "s3Uri",
// the properties below are optional
ContentDigest = "contentDigest"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
metricsSourceProperty := &MetricsSourceProperty{
ContentType: jsii.String("contentType"),
S3Uri: jsii.String("s3Uri"),
// the properties below are optional
ContentDigest: jsii.String("contentDigest"),
}
Properties
contentDigestoptionalstringcontent_digestoptionalstrcontentDigestoptionalStringContentDigestoptionalstringContentDigestoptional*string #The hash key used for the metrics source.
The metric source content type.
The S3 URI for the metrics source.