Class CfnCapacityProvider.MemoryGiBPerVCpuRequestProperty
The minimum and maximum amount of memory per vCPU in gibibytes (GiB).
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCapacityProvider.MemoryGiBPerVCpuRequestProperty : CfnCapacityProvider.IMemoryGiBPerVCpuRequestProperty
Syntax (vb)
Public Class CfnCapacityProvider.MemoryGiBPerVCpuRequestProperty Implements CfnCapacityProvider.IMemoryGiBPerVCpuRequestProperty
Remarks
This helps ensure that instance types have the appropriate memory-to-CPU ratio for your workloads.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var memoryGiBPerVCpuRequestProperty = new MemoryGiBPerVCpuRequestProperty {
Max = 123,
Min = 123
};
Synopsis
Constructors
| MemoryGiBPerVCpuRequestProperty() | The minimum and maximum amount of memory per vCPU in gibibytes (GiB). |
Properties
| Max | The maximum amount of memory per vCPU in GiB. |
| Min | The minimum amount of memory per vCPU in GiB. |
Constructors
MemoryGiBPerVCpuRequestProperty()
The minimum and maximum amount of memory per vCPU in gibibytes (GiB).
public MemoryGiBPerVCpuRequestProperty()
Remarks
This helps ensure that instance types have the appropriate memory-to-CPU ratio for your workloads.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var memoryGiBPerVCpuRequestProperty = new MemoryGiBPerVCpuRequestProperty {
Max = 123,
Min = 123
};
Properties
Max
The maximum amount of memory per vCPU in GiB.
public double? Max { get; set; }
Property Value
Remarks
Instance types with a higher memory-to-vCPU ratio are excluded from selection.
Min
The minimum amount of memory per vCPU in GiB.
public double? Min { get; set; }
Property Value
Remarks
Instance types with a lower memory-to-vCPU ratio are excluded from selection.