Show / Hide Table of Contents

Class CfnInstance.ElasticInferenceAcceleratorProperty

Specifies the Elastic Inference Accelerator for the instance.

Inheritance
System.Object
CfnInstance.ElasticInferenceAcceleratorProperty
Implements
CfnInstance.IElasticInferenceAcceleratorProperty
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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-elasticinferenceaccelerator.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.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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-elasticinferenceaccelerator.html#cfn-ec2-instance-elasticinferenceaccelerator-count

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 .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-elasticinferenceaccelerator.html#cfn-ec2-instance-elasticinferenceaccelerator-type

Implements

CfnInstance.IElasticInferenceAcceleratorProperty
Back to top Generated by DocFX