interface VCpuCountRangeRequestProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnCapacityProviderPropsMixin.VCpuCountRangeRequestProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnCapacityProviderPropsMixin_VCpuCountRangeRequestProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnCapacityProviderPropsMixin.VCpuCountRangeRequestProperty |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnCapacityProviderPropsMixin.VCpuCountRangeRequestProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnCapacityProviderPropsMixin » 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 { mixins as ecs_mixins } from '@aws-cdk/mixins-preview/aws-ecs';
const vCpuCountRangeRequestProperty: ecs_mixins.CfnCapacityProviderPropsMixin.VCpuCountRangeRequestProperty = {
max: 123,
min: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| max? | number | The maximum number of vCPUs. |
| min? | number | The minimum number of vCPUs. |
max?
Type:
number
(optional)
The maximum number of vCPUs.
Instance types with more vCPUs than this value are excluded from selection.
min?
Type:
number
(optional)
The minimum number of vCPUs.
Instance types with fewer vCPUs than this value are excluded from selection.

.NET
Go
Java
Python
TypeScript