Class AcceleratorClass
The generation of Elastic Inference (EI) instance.
Inheritance
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class AcceleratorClass : DeputyBase
Syntax (vb)
Public Class AcceleratorClass
Inherits DeputyBase
Remarks
See: https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html
ExampleMetadata: fixture=_generated
Examples
// 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");
Synopsis
Constructors
AcceleratorClass(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
AcceleratorClass(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
EIA1 | Elastic Inference accelerator 1st generation. |
EIA2 | Elastic Inference accelerator 2nd generation. |
Version |
Methods
Of(String) | Custom AcceleratorType. |
Constructors
AcceleratorClass(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AcceleratorClass(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
AcceleratorClass(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AcceleratorClass(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
EIA1
Elastic Inference accelerator 1st generation.
public static AcceleratorClass EIA1 { get; }
Property Value
EIA2
Elastic Inference accelerator 2nd generation.
public static AcceleratorClass EIA2 { get; }
Property Value
Version
- Elastic Inference accelerator generation.
public virtual string Version { get; }
Property Value
System.String
Methods
Of(String)
Custom AcceleratorType.
public static AcceleratorClass Of(string version)
Parameters
- version System.String
- Elastic Inference accelerator generation.
Returns