AcceleratorClass Class
The generation of Elastic Inference (EI) instance.
| Source | aws-stepfunctions-tasks/lib/sagemaker/base-types.ts |
|---|
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
EIA1AcceleratorClassEIA1AcceleratorClassEIA1AcceleratorClassEIA1AcceleratorClassEIA1AcceleratorClass static #Elastic Inference accelerator 1st generation.
EIA2AcceleratorClassEIA2AcceleratorClassEIA2AcceleratorClassEIA2AcceleratorClassEIA2AcceleratorClass static #Elastic Inference accelerator 2nd generation.
- 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.