interface MemoryGiBPerVCpuRequestProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty |
![]() | software.amazon.awscdk.services.ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty |
![]() | aws_cdk.aws_ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty |
![]() | @aws-cdk/aws-ec2 » CfnSpotFleet » MemoryGiBPerVCpuRequestProperty |
The minimum and maximum amount of memory per vCPU, in GiB.
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 memoryGiBPerVCpuRequestProperty: ec2.CfnSpotFleet.MemoryGiBPerVCpuRequestProperty = {
max: 123,
min: 123,
};
Properties
Name | Type | Description |
---|---|---|
max? | number | The maximum amount of memory per vCPU, in GiB. |
min? | number | The minimum amount of memory per vCPU, in GiB. |
max?
Type:
number
(optional)
The maximum amount of memory per vCPU, in GiB.
To specify no maximum limit, omit this parameter.
min?
Type:
number
(optional)
The minimum amount of memory per vCPU, in GiB.
To specify no minimum limit, omit this parameter.