Skip to content
v2.275.0

MemoryGiBPerVCpuProperty Struct ​

The minimum and maximum amount of memory per vCPU, in GiB.

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 memoryGiBPerVCpuProperty: ec2.CfnLaunchTemplate.MemoryGiBPerVCpuProperty = {
  max: 123,
  min: 123,
};

Properties ​

maxoptionalnumbermaxoptionalint | floatmaxoptionalNumberMaxoptionaldoubleMaxoptional*float64#
The maximum amount of memory per vCPU, in GiB.

To specify no maximum limit, omit this parameter.

minoptionalnumberminoptionalint | floatminoptionalNumberMinoptionaldoubleMinoptional*float64#
The minimum amount of memory per vCPU, in GiB.

To specify no minimum limit, omit this parameter.