# DatasetFormatProperty

The dataset format of the data to monitor.

- 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 datasetFormatProperty: sagemaker.CfnModelExplainabilityJobDefinition.DatasetFormatProperty = {
  csv: {
    header: false,
  },
  json: {
    line: false,
  },
  parquet: false,
};
```

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

dataset_format_property = sagemaker.CfnModelExplainabilityJobDefinition.DatasetFormatProperty(
    csv=sagemaker.CfnModelExplainabilityJobDefinition.CsvProperty(
        header=False
    ),
    json=sagemaker.CfnModelExplainabilityJobDefinition.JsonProperty(
        line=False
    ),
    parquet=False
)
```

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.*;

DatasetFormatProperty datasetFormatProperty = DatasetFormatProperty.builder()
        .csv(CsvProperty.builder()
                .header(false)
                .build())
        .json(JsonProperty.builder()
                .line(false)
                .build())
        .parquet(false)
        .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 datasetFormatProperty = new DatasetFormatProperty {
    Csv = new CsvProperty {
        Header = false
    },
    Json = new JsonProperty {
        Line = false
    },
    Parquet = false
};
```

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"

datasetFormatProperty := &DatasetFormatProperty{
	Csv: &CsvProperty{
		Header: jsii.Boolean(false),
	},
	Json: &JsonProperty{
		Line: jsii.Boolean(false),
	},
	Parquet: jsii.Boolean(false),
}
```

## Properties

- `csv`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnModelExplainabilityJobDefinition.CsvProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnModelExplainabilityJobDefinition.CsvProperty.html) — The CSV format.

- `json`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnModelExplainabilityJobDefinition.JsonProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnModelExplainabilityJobDefinition.JsonProperty.html) — The Json format.

- `parquet`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — A flag indicating if the dataset format is Parquet.
