Skip to content
v2.277.0

AcceleratorClass Class ​

The generation of Elastic Inference (EI) instance.

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 acceleratorClass = stepfunctions_tasks.AcceleratorClass.of('version');
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks

accelerator_class = stepfunctions_tasks.AcceleratorClass.of("version")
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.tasks.*;

AcceleratorClass acceleratorClass = AcceleratorClass.of("version");
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions.Tasks;

var acceleratorClass = AcceleratorClass.Of("version");
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

acceleratorClass := awscdk.Aws_stepfunctions_tasks.AcceleratorClass_Of(jsii.String("version"))

Properties ​

Elastic Inference accelerator 1st generation.
Elastic Inference accelerator 2nd generation.
versionstringversionstrversionStringVersionstringVersion*string #
- Elastic Inference accelerator generation.

Methods ​

of(version: string): AcceleratorClass // chainable@staticmethod def of(version: str) -> AcceleratorClasspublic static AcceleratorClass of(String version)public static AcceleratorClass Of(string version)func Of(Version *string) AcceleratorClass static #
Custom AcceleratorType.
1 parameter

Parameters

  • versionversionversionversionVersion — - Elastic Inference accelerator generation.