Skip to content
v2.278.0

BaselineConfigProperty Struct ​

Baseline configuration used to validate that the data conforms to the specified constraints and statistics.

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 baselineConfigProperty: sagemaker.CfnMonitoringSchedule.BaselineConfigProperty = {
  constraintsResource: {
    s3Uri: 's3Uri',
  },
  statisticsResource: {
    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

baseline_config_property = sagemaker.CfnMonitoringSchedule.BaselineConfigProperty(
    constraints_resource=sagemaker.CfnMonitoringSchedule.ConstraintsResourceProperty(
        s3_uri="s3Uri"
    ),
    statistics_resource=sagemaker.CfnMonitoringSchedule.StatisticsResourceProperty(
        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.*;

BaselineConfigProperty baselineConfigProperty = BaselineConfigProperty.builder()
        .constraintsResource(ConstraintsResourceProperty.builder()
                .s3Uri("s3Uri")
                .build())
        .statisticsResource(StatisticsResourceProperty.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 baselineConfigProperty = new BaselineConfigProperty {
    ConstraintsResource = new ConstraintsResourceProperty {
        S3Uri = "s3Uri"
    },
    StatisticsResource = new StatisticsResourceProperty {
        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"

baselineConfigProperty := &BaselineConfigProperty{
	ConstraintsResource: &ConstraintsResourceProperty{
		S3Uri: jsii.String("s3Uri"),
	},
	StatisticsResource: &StatisticsResourceProperty{
		S3Uri: jsii.String("s3Uri"),
	},
}

Properties ​

constraintsResourceoptionalIResolvable | CfnMonitoringSchedule.ConstraintsResourcePropertyconstraints_resourceoptionaltyping.Union[IResolvable, ConstraintsResourceProperty]constraintsResourceoptionalIResolvableConstraintsResourceoptionalIResolvableConstraintsResourceoptionalinterface{} #
The Amazon S3 URI for the constraints resource.
statisticsResourceoptionalIResolvable | CfnMonitoringSchedule.StatisticsResourcePropertystatistics_resourceoptionaltyping.Union[IResolvable, StatisticsResourceProperty]statisticsResourceoptionalIResolvableStatisticsResourceoptionalIResolvableStatisticsResourceoptionalinterface{} #
The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.