# ReleaseLabel

The Amazon EMR release version to use for the job run.

Can be extended to include new EMR releases

For example, `new ReleaseLabel('emr-x.xx.x-latest');`

- Source: [`aws-stepfunctions-tasks/lib/emrcontainers/start-job-run.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/emrcontainers/start-job-run.ts#L675)
- Type last changed: v2.1.0 · 8 Dec 2021

## Example

```ts
new tasks.EmrContainersStartJobRun(this, 'EMR Containers Start Job Run', {
  virtualCluster: tasks.VirtualClusterInput.fromVirtualClusterId('de92jdei2910fwedz'),
  releaseLabel: tasks.ReleaseLabel.EMR_6_2_0,
  jobName: 'EMR-Containers-Job',
  jobDriver: {
    sparkSubmitJobDriver: {
      entryPoint: sfn.TaskInput.fromText('local:///usr/lib/spark/examples/src/main/python/pi.py'),
    },
  },
  applicationConfig: [{
    classification: tasks.Classification.SPARK_DEFAULTS,
    properties: {
      'spark.executor.instances': '1',
      'spark.executor.memory': '512M',
    },
  }],
});
```

## Initializer

```ts
new ReleaseLabel(label: string)
```

## Properties

- `EMR_5_32_0`: [ReleaseLabel](/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.ReleaseLabel.html) (static) — EMR Release version 5.32.0.

- `EMR_5_33_0`: [ReleaseLabel](/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.ReleaseLabel.html) (static) — EMR Release version 5.33.0.

- `EMR_6_2_0`: [ReleaseLabel](/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.ReleaseLabel.html) (static) — EMR Release version 6.2.0.

- `EMR_6_3_0`: [ReleaseLabel](/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.ReleaseLabel.html) (static) — EMR Release version 6.3.0.

- `label`: string — A literal string that contains the release-version ex.

  'emr-x.x.x-latest'
