# DataFormatProps

Properties of a DataFormat instance.

Extends: DataFormatProps
Used as props by: DataFormat

- Source: [`aws-glue/lib/data-format.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-glue/lib/data-format.ts#L182)
- Type last changed: v2.270.0 · 17 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';

declare const classificationString: glue.ClassificationString;
declare const inputFormat: glue.InputFormat;
declare const outputFormat: glue.OutputFormat;
declare const serializationLibrary: glue.SerializationLibrary;
const dataFormatProps: glue.DataFormatProps = {
  inputFormat: inputFormat,
  outputFormat: outputFormat,
  serializationLibrary: serializationLibrary,

  // the properties below are optional
  classificationString: classificationString,
};
```

## Properties

- `classificationString`: [ClassificationString](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.ClassificationString.html) — Classification string given to tables with this data format.

  **Default:** No classification is specified.

- `inputFormat`: [InputFormat](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.InputFormat.html) (required) — `InputFormat` for this data format.

- `outputFormat`: [OutputFormat](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.OutputFormat.html) (required) — `OutputFormat` for this data format.

- `serializationLibrary`: [SerializationLibrary](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.SerializationLibrary.html) (required) — Serialization library for this data format.
