# BaselineConfigProperty

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

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `constraintsResource`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMonitoringSchedule.ConstraintsResourceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnMonitoringSchedule.ConstraintsResourceProperty.html) — The Amazon S3 URI for the constraints resource.

- `statisticsResource`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMonitoringSchedule.StatisticsResourceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnMonitoringSchedule.StatisticsResourceProperty.html) — The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.
