Skip to content
v2.275.0

VCpuCountRangeRequestProperty Struct ​

The minimum and maximum number of vCPUs.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const vCpuCountRangeRequestProperty: ec2.CfnSpotFleet.VCpuCountRangeRequestProperty = {
  max: 123,
  min: 123,
};

Properties ​

maxoptionalnumbermaxoptionalint | floatmaxoptionalNumberMaxoptionaldoubleMaxoptional*float64#
The maximum number of vCPUs.

To specify no maximum limit, omit this parameter.

minoptionalnumberminoptionalint | floatminoptionalNumberMinoptionaldoubleMinoptional*float64#
The minimum number of vCPUs.

To specify no minimum limit, specify 0 .