ModelBiasBaselineConfigProperty Struct
The configuration for a baseline model bias job.
| 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 modelBiasBaselineConfigProperty: sagemaker.CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty = {
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_bias_baseline_config_property = sagemaker.CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty(
baselining_job_name="baseliningJobName",
constraints_resource=sagemaker.CfnModelBiasJobDefinition.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.*;
ModelBiasBaselineConfigProperty modelBiasBaselineConfigProperty = ModelBiasBaselineConfigProperty.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 modelBiasBaselineConfigProperty = new ModelBiasBaselineConfigProperty {
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"
modelBiasBaselineConfigProperty := &ModelBiasBaselineConfigProperty{
BaseliningJobName: jsii.String("baseliningJobName"),
ConstraintsResource: &ConstraintsResourceProperty{
S3Uri: jsii.String("s3Uri"),
},
}
Properties
baseliningJobNameoptionalstringbaselining_job_nameoptionalstrbaseliningJobNameoptionalStringBaseliningJobNameoptionalstringBaseliningJobNameoptional*string #The name of the baseline model bias job.
constraintsResourceoptionalIResolvable | CfnModelBiasJobDefinition.constraints_resourceoptionaltyping.Union[IResolvable, ConstraintsResourceProperty]constraintsResourceoptionalIResolvableConstraintsResourceoptionalIResolvableConstraintsResourceoptionalinterface{} #The constraints resource for a monitoring job.