aws-cdk-lib.aws_ec2.CfnSpotFleet.VCpuCountRangeRequestProperty

interface VCpuCountRangeRequestProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnSpotFleet.VCpuCountRangeRequestProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnSpotFleet_VCpuCountRangeRequestProperty
Javasoftware.amazon.awscdk.services.ec2.CfnSpotFleet.VCpuCountRangeRequestProperty
Pythonaws_cdk.aws_ec2.CfnSpotFleet.VCpuCountRangeRequestProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnSpotFleet » VCpuCountRangeRequestProperty

The minimum and maximum number of vCPUs.

Example

// 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

NameTypeDescription
max?numberThe maximum number of vCPUs.
min?numberThe minimum number of vCPUs.

max?

Type: number (optional)

The maximum number of vCPUs.

To specify no maximum limit, omit this parameter.


min?

Type: number (optional)

The minimum number of vCPUs.

To specify no minimum limit, specify 0 .