# SessionCommandProperty

The SessionCommand that runs the job.

- Source: Generated code
- Type last changed: v2.268.0 · 2 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';
const sessionCommandProperty: glue.CfnSession.SessionCommandProperty = {
  name: 'name',
  pythonVersion: 'pythonVersion',
};
```

## Properties

- `name`: string — Specifies the name of the SessionCommand.

  Can be 'glueetl' or 'gluestreaming'.

- `pythonVersion`: string — Specifies the Python version.

  The Python version indicates the version supported for jobs of type Spark.
