interface VCpuCountProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnLaunchTemplate.VCpuCountProperty |
![]() | software.amazon.awscdk.services.ec2.CfnLaunchTemplate.VCpuCountProperty |
![]() | aws_cdk.aws_ec2.CfnLaunchTemplate.VCpuCountProperty |
![]() | @aws-cdk/aws-ec2 » CfnLaunchTemplate » VCpuCountProperty |
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 * as ec2 from '@aws-cdk/aws-ec2';
const vCpuCountProperty: ec2.CfnLaunchTemplate.VCpuCountProperty = {
max: 123,
min: 123,
};
Properties
Name | Type | Description |
---|---|---|
max? | number | The maximum number of vCPUs. |
min? | number | The 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
.