Show / Hide Table of Contents

Class CfnLaunchTemplate.AcceleratorCountProperty

The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.

Inheritance
System.Object
CfnLaunchTemplate.AcceleratorCountProperty
Implements
CfnLaunchTemplate.IAcceleratorCountProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class AcceleratorCountProperty : Object, CfnLaunchTemplate.IAcceleratorCountProperty
Syntax (vb)
Public Class AcceleratorCountProperty
    Inherits Object
    Implements CfnLaunchTemplate.IAcceleratorCountProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-acceleratorcount.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 acceleratorCountProperty = new AcceleratorCountProperty {
    Max = 123,
    Min = 123
};

Synopsis

Constructors

AcceleratorCountProperty()

Properties

Max

The maximum number of accelerators.

Min

The minimum number of accelerators.

Constructors

AcceleratorCountProperty()

public AcceleratorCountProperty()

Properties

Max

The maximum number of accelerators.

public Nullable<double> Max { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0 .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-acceleratorcount.html#cfn-ec2-launchtemplate-acceleratorcount-max

Min

The minimum number of accelerators.

public Nullable<double> Min { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

To specify no minimum limit, omit this parameter.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-acceleratorcount.html#cfn-ec2-launchtemplate-acceleratorcount-min

Implements

CfnLaunchTemplate.IAcceleratorCountProperty
Back to top Generated by DocFX