# GatewayElbNetworkConfigurationProperty

The network configuration for the gateway ALB.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## 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 gatewayElbNetworkConfigurationProperty: ecs.CfnGateway.GatewayElbNetworkConfigurationProperty = {
  inboundSecurityGroup: 'inboundSecurityGroup',
  ipAddressType: 'ipAddressType',
  subnets: ['subnets'],
};
```

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

gateway_elb_network_configuration_property = ecs.CfnGateway.GatewayElbNetworkConfigurationProperty(
    inbound_security_group="inboundSecurityGroup",
    ip_address_type="ipAddressType",
    subnets=["subnets"]
)
```

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.*;

GatewayElbNetworkConfigurationProperty gatewayElbNetworkConfigurationProperty = GatewayElbNetworkConfigurationProperty.builder()
        .inboundSecurityGroup("inboundSecurityGroup")
        .ipAddressType("ipAddressType")
        .subnets(List.of("subnets"))
        .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 gatewayElbNetworkConfigurationProperty = new GatewayElbNetworkConfigurationProperty {
    InboundSecurityGroup = "inboundSecurityGroup",
    IpAddressType = "ipAddressType",
    Subnets = new [] { "subnets" }
};
```

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"

gatewayElbNetworkConfigurationProperty := &GatewayElbNetworkConfigurationProperty{
	InboundSecurityGroup: jsii.String("inboundSecurityGroup"),
	IpAddressType: jsii.String("ipAddressType"),
	Subnets: []*string{
		jsii.String("subnets"),
	},
}
```

## Properties

- `inboundSecurityGroup`: string — The inbound security group for the ALB.

- `ipAddressType`: string — The IP address type for the ALB.

- `subnets`: string[] — The subnets for the ALB.
