Skip to content
v2.277.0

ModelQualityBaselineConfigProperty Struct ​

Configuration for monitoring constraints and monitoring statistics.

These baseline resources are compared against the results of the current job from the series of jobs scheduled to collect data periodically.

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 modelQualityBaselineConfigProperty: sagemaker.CfnModelQualityJobDefinition.ModelQualityBaselineConfigProperty = {
  baseliningJobName: 'baseliningJobName',
  constraintsResource: {
    s3Uri: 's3Uri',
  },
};
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

model_quality_baseline_config_property = sagemaker.CfnModelQualityJobDefinition.ModelQualityBaselineConfigProperty(
    baselining_job_name="baseliningJobName",
    constraints_resource=sagemaker.CfnModelQualityJobDefinition.ConstraintsResourceProperty(
        s3_uri="s3Uri"
    )
)
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.*;

ModelQualityBaselineConfigProperty modelQualityBaselineConfigProperty = ModelQualityBaselineConfigProperty.builder()
        .baseliningJobName("baseliningJobName")
        .constraintsResource(ConstraintsResourceProperty.builder()
                .s3Uri("s3Uri")
                .build())
        .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 modelQualityBaselineConfigProperty = new ModelQualityBaselineConfigProperty {
    BaseliningJobName = "baseliningJobName",
    ConstraintsResource = new ConstraintsResourceProperty {
        S3Uri = "s3Uri"
    }
};
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"

modelQualityBaselineConfigProperty := &ModelQualityBaselineConfigProperty{
	BaseliningJobName: jsii.String("baseliningJobName"),
	ConstraintsResource: &ConstraintsResourceProperty{
		S3Uri: jsii.String("s3Uri"),
	},
}

Properties ​

baseliningJobNameoptionalstringbaselining_job_nameoptionalstrbaseliningJobNameoptionalStringBaseliningJobNameoptionalstringBaseliningJobNameoptional*string#
The name of the job that performs baselining for the monitoring job.
constraintsResourceoptionalIResolvable | CfnModelQualityJobDefinition.ConstraintsResourcePropertyconstraints_resourceoptionaltyping.Union[IResolvable, ConstraintsResourceProperty]constraintsResourceoptionalIResolvableConstraintsResourceoptionalIResolvableConstraintsResourceoptionalinterface{}#
The constraints resource for a monitoring job.