Class CfnInstance.ElasticInferenceAcceleratorProperty
Amazon Elastic Inference is no longer available.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstance.ElasticInferenceAcceleratorProperty : CfnInstance.IElasticInferenceAcceleratorProperty
Syntax (vb)
Public Class CfnInstance.ElasticInferenceAcceleratorProperty Implements 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
Constructors
| ElasticInferenceAcceleratorProperty() | Amazon Elastic Inference is no longer available. |
Properties
| Count | The number of elastic inference accelerators to attach to the instance. |
| Type | The type of elastic inference accelerator. |
Constructors
ElasticInferenceAcceleratorProperty()
Amazon Elastic Inference is no longer available.
public ElasticInferenceAcceleratorProperty()
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
};
Properties
Count
The number of elastic inference accelerators to attach to the instance.
public double? Count { get; set; }
Property Value
Remarks
Type
The type of elastic inference accelerator.
public string Type { get; set; }
Property Value
Remarks
The possible values are eia1.medium , eia1.large , eia1.xlarge , eia2.medium , eia2.large , and eia2.xlarge .