Interface CfnInstance.IElasticInferenceAcceleratorProperty
Amazon Elastic Inference is no longer available.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnInstance.IElasticInferenceAcceleratorProperty
Syntax (vb)
Public Interface CfnInstance.IElasticInferenceAcceleratorProperty
Remarks
Specifies the Elastic Inference Accelerator for the instance.
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.
double? Count { get; }
Property Value
Remarks
Type
The type of elastic inference accelerator.
string Type { get; }
Property Value
Remarks
The possible values are eia1.medium , eia1.large , eia1.xlarge , eia2.medium , eia2.large , and eia2.xlarge .