interface MemoryGiBPerVCpuRequestProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ECS.CfnCapacityProviderPropsMixin.MemoryGiBPerVCpuRequestProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsecs#CfnCapacityProviderPropsMixin_MemoryGiBPerVCpuRequestProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnCapacityProviderPropsMixin.MemoryGiBPerVCpuRequestProperty |
Python | aws_cdk.cfn_property_mixins.aws_ecs.CfnCapacityProviderPropsMixin.MemoryGiBPerVCpuRequestProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ecs » CfnCapacityProviderPropsMixin » MemoryGiBPerVCpuRequestProperty |
The minimum and maximum amount of memory per vCPU in gibibytes (GiB).
This helps ensure that instance types have the appropriate memory-to-CPU ratio for your workloads.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from '@aws-cdk/cfn-property-mixins';
const memoryGiBPerVCpuRequestProperty: ecs.CfnCapacityProviderPropsMixin.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.
Instance types with a higher memory-to-vCPU ratio are excluded from selection.
min?
Type:
number
(optional)
The minimum amount of memory per vCPU in GiB.
Instance types with a lower memory-to-vCPU ratio are excluded from selection.

.NET
Go
Java
Python
TypeScript