Class CfnInstance.ElasticInferenceAcceleratorProperty
Specifies the Elastic Inference Accelerator for the instance.
Inheritance
System.Object
    CfnInstance.ElasticInferenceAcceleratorProperty
  Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class ElasticInferenceAcceleratorProperty : Object, CfnInstance.IElasticInferenceAcceleratorProperty
  Syntax (vb)
Public Class ElasticInferenceAcceleratorProperty
    Inherits Object
    Implements CfnInstance.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
Constructors
| ElasticInferenceAcceleratorProperty() | 
Properties
| Count | The number of elastic inference accelerators to attach to the instance.  | 
    
| Type | The type of elastic inference accelerator.  | 
    
Constructors
ElasticInferenceAcceleratorProperty()
public ElasticInferenceAcceleratorProperty()
  Properties
Count
The number of elastic inference accelerators to attach to the instance.
public Nullable<double> Count { get; set; }
  Property Value
System.Nullable<System.Double>
Remarks
Type
The type of elastic inference accelerator.
public string Type { get; set; }
  Property Value
System.String
Remarks
The possible values are eia1.medium , eia1.large , eia1.xlarge , eia2.medium , eia2.large , and eia2.xlarge .