Class CfnLaunchTemplate.VCpuCountProperty
The minimum and maximum number of vCPUs.
Inheritance
System.Object
CfnLaunchTemplate.VCpuCountProperty
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class VCpuCountProperty : Object, CfnLaunchTemplate.IVCpuCountProperty
Syntax (vb)
Public Class VCpuCountProperty
Inherits Object
Implements CfnLaunchTemplate.IVCpuCountProperty
Remarks
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 vCpuCountProperty = new VCpuCountProperty {
Max = 123,
Min = 123
};
Synopsis
Constructors
VCpuCountProperty() |
Properties
Max | The maximum number of vCPUs. |
Min | The minimum number of vCPUs. |
Constructors
VCpuCountProperty()
public VCpuCountProperty()
Properties
Max
The maximum number of vCPUs.
public Nullable<double> Max { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
To specify no maximum limit, omit this parameter.
Min
The minimum number of vCPUs.
public Nullable<double> Min { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
To specify no minimum limit, specify 0
.