Show / Hide Table of Contents

Class CfnSpotFleetPropsMixin.AcceleratorCountRequestProperty

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

Inheritance
object
CfnSpotFleetPropsMixin.AcceleratorCountRequestProperty
Implements
CfnSpotFleetPropsMixin.IAcceleratorCountRequestProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSpotFleetPropsMixin.AcceleratorCountRequestProperty : CfnSpotFleetPropsMixin.IAcceleratorCountRequestProperty
Syntax (vb)
Public Class CfnSpotFleetPropsMixin.AcceleratorCountRequestProperty Implements CfnSpotFleetPropsMixin.IAcceleratorCountRequestProperty
Remarks

To exclude accelerator-enabled instance types, set Max to 0 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-acceleratorcountrequest.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.Mixins.Preview.AWS.EC2.Mixins;

             var acceleratorCountRequestProperty = new AcceleratorCountRequestProperty {
                 Max = 123,
                 Min = 123
             };

Synopsis

Constructors

AcceleratorCountRequestProperty()

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

Properties

Max

The maximum number of accelerators.

Min

The minimum number of accelerators.

Constructors

AcceleratorCountRequestProperty()

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

public AcceleratorCountRequestProperty()
Remarks

To exclude accelerator-enabled instance types, set Max to 0 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-acceleratorcountrequest.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.Mixins.Preview.AWS.EC2.Mixins;

             var acceleratorCountRequestProperty = new AcceleratorCountRequestProperty {
                 Max = 123,
                 Min = 123
             };

Properties

Max

The maximum number of accelerators.

public double? Max { get; set; }
Property Value

double?

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-acceleratorcountrequest.html#cfn-ec2-spotfleet-acceleratorcountrequest-max

Min

The minimum number of accelerators.

public double? Min { get; set; }
Property Value

double?

Remarks

To specify no minimum limit, omit this parameter.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-acceleratorcountrequest.html#cfn-ec2-spotfleet-acceleratorcountrequest-min

Implements

CfnSpotFleetPropsMixin.IAcceleratorCountRequestProperty
Back to top Generated by DocFX