Interface CfnInstance.IElasticInferenceAcceleratorProperty
Specifies the Elastic Inference Accelerator for the instance.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IElasticInferenceAcceleratorProperty
Syntax (vb)
Public Interface IElasticInferenceAcceleratorProperty
Remarks
ElasticInferenceAccelerator
is a property of the AWS::EC2::Instance resource.
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.EC2;
var elasticInferenceAcceleratorProperty = new ElasticInferenceAcceleratorProperty {
Type = "type",
// the properties below are optional
Count = 123
};
Synopsis
Properties
Count | The number of elastic inference accelerators to attach to the instance. |
Type | The type of elastic inference accelerator. |
Properties
Count
The number of elastic inference accelerators to attach to the instance.
virtual Nullable<double> Count { get; }
Property Value
System.Nullable<System.Double>
Remarks
Type
The type of elastic inference accelerator.
string Type { get; }
Property Value
System.String
Remarks
The possible values are eia1.medium
, eia1.large
, eia1.xlarge
, eia2.medium
, eia2.large
, and eia2.xlarge
.