# NetworkInterfaceCountRequestProperty

The minimum and maximum number of network interfaces for instance type selection.

This is useful for workloads that require multiple network interfaces.

- Source: Generated at build time
- Type last changed: v2.219.0 · 1 Oct 2025

## Example

TypeScript:

```ts
// 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 networkInterfaceCountRequestProperty: ecs.CfnCapacityProvider.NetworkInterfaceCountRequestProperty = {
  max: 123,
  min: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ecs as ecs

network_interface_count_request_property = ecs.CfnCapacityProvider.NetworkInterfaceCountRequestProperty(
    max=123,
    min=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;

NetworkInterfaceCountRequestProperty networkInterfaceCountRequestProperty = NetworkInterfaceCountRequestProperty.builder()
        .max(123)
        .min(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 networkInterfaceCountRequestProperty = new NetworkInterfaceCountRequestProperty {
    Max = 123,
    Min = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

networkInterfaceCountRequestProperty := &NetworkInterfaceCountRequestProperty{
	Max: jsii.Number(123),
	Min: jsii.Number(123),
}
```

## Properties

- `max`: number — The maximum number of network interfaces.

  Instance types that support more network interfaces are excluded from selection.

- `min`: number — The minimum number of network interfaces.

  Instance types that support fewer network interfaces are excluded from selection.
