interface VCpuCountRangeRequestProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.CfnCapacityProvider.VCpuCountRangeRequestProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnCapacityProvider_VCpuCountRangeRequestProperty |
![]() | software.amazon.awscdk.services.ecs.CfnCapacityProvider.VCpuCountRangeRequestProperty |
![]() | aws_cdk.aws_ecs.CfnCapacityProvider.VCpuCountRangeRequestProperty |
![]() | aws-cdk-lib » aws_ecs » CfnCapacityProvider » VCpuCountRangeRequestProperty |
The minimum and maximum number of vCPUs for instance type selection.
This allows you to specify a range of vCPU counts that meet your workload requirements.
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-lib';
const vCpuCountRangeRequestProperty: ecs.CfnCapacityProvider.VCpuCountRangeRequestProperty = {
min: 123,
// the properties below are optional
max: 123,
};
Properties
Name | Type | Description |
---|---|---|
min | number | The minimum number of vCPUs. |
max? | number | The maximum number of vCPUs. |
min
Type:
number
The minimum number of vCPUs.
Instance types with fewer vCPUs than this value are excluded from selection.
max?
Type:
number
(optional)
The maximum number of vCPUs.
Instance types with more vCPUs than this value are excluded from selection.