# AcceleratorType

The size of the Elastic Inference (EI) instance to use for the production variant.

EI instances provide on-demand GPU computing for inference

- Source: [`aws-stepfunctions-tasks/lib/sagemaker/base-types.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/sagemaker/base-types.ts#L823)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const acceleratorType = new stepfunctions_tasks.AcceleratorType('instanceTypeIdentifier');
```

## Initializer

```ts
new AcceleratorType(instanceTypeIdentifier: string)
```

## Methods

- `of(acceleratorClass: AcceleratorClass, instanceSize: InstanceSize): AcceleratorType // chainable` (static) — AcceleratorType.

  This class takes a combination of a class and size.

- `toString(): string` — Return the accelerator type as a dotted string.
