interface VCpuCountProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnLaunchTemplatePropsMixin.VCpuCountProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnLaunchTemplatePropsMixin_VCpuCountProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnLaunchTemplatePropsMixin.VCpuCountProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnLaunchTemplatePropsMixin.VCpuCountProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnLaunchTemplatePropsMixin » 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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const vCpuCountProperty: ec2_mixins.CfnLaunchTemplatePropsMixin.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 .

.NET
Go
Java
Python
TypeScript