aws-cdk-lib.aws_ec2.CfnLaunchTemplate.MemoryGiBPerVCpuProperty

interface MemoryGiBPerVCpuProperty

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

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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
const memoryGiBPerVCpuProperty: ec2.CfnLaunchTemplate.MemoryGiBPerVCpuProperty = {
  max: 123,
  min: 123,
};

Properties

NameTypeDescription
max?numberThe maximum amount of memory per vCPU, in GiB.
min?numberThe 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.