aws-cdk-lib.aws_ec2.CfnEC2Fleet.MemoryMiBRequestProperty

interface MemoryMiBRequestProperty

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

The minimum and maximum amount of memory, in MiB.

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 memoryMiBRequestProperty: ec2.CfnEC2Fleet.MemoryMiBRequestProperty = {
  max: 123,
  min: 123,
};

Properties

NameTypeDescription
max?numberThe maximum amount of memory, in MiB.
min?numberThe minimum amount of memory, in MiB.

max?

Type: number (optional)

The maximum amount of memory, in MiB.

To specify no maximum limit, omit this parameter.


min?

Type: number (optional)

The minimum amount of memory, in MiB.

To specify no minimum limit, specify 0 .