# AthenaDatasetDefinitionProperty

Configuration for Athena Dataset Definition input.

- Source: Generated code
- Type last changed: v2.211.0 · 13 Aug 2025

## 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 athenaDatasetDefinitionProperty: sagemaker.CfnProcessingJob.AthenaDatasetDefinitionProperty = {
  catalog: 'catalog',
  database: 'database',
  outputFormat: 'outputFormat',
  outputS3Uri: 'outputS3Uri',
  queryString: 'queryString',

  // the properties below are optional
  kmsKeyId: 'kmsKeyId',
  outputCompression: 'outputCompression',
  workGroup: 'workGroup',
};
```

## Properties

- `catalog`: string (required) — The name of the data catalog used in Athena query execution.

- `database`: string (required) — The name of the database used in the Athena query execution.

- `kmsKeyId`: string — The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data generated from an Athena query execution.

- `outputCompression`: string — The compression used for Athena query results.

- `outputFormat`: string (required) — The data storage format for Athena query results.

- `outputS3Uri`: string (required) — The location in Amazon S3 where Athena query results are stored.

- `queryString`: string (required) — The SQL query statements, to be executed.

- `workGroup`: string — The name of the workgroup in which the Athena query is being started.
