Skip to content
v2.274.0

SessionCommandProperty Struct ​

The SessionCommand that runs the job.

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 ​

namestringnamestrnameStringNamestringName*string#
Specifies the name of the SessionCommand.

Can be 'glueetl' or 'gluestreaming'.

pythonVersionstringpython_versionstrpythonVersionStringPythonVersionstringPythonVersion*string#
Specifies the Python version.

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