# GatewayTestTrafficHeaderProperty

The header configuration for test traffic routing.

- 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 gatewayTestTrafficHeaderProperty: ecs.CfnGateway.GatewayTestTrafficHeaderProperty = {
  name: 'name',
  values: ['values'],
};
```

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_test_traffic_header_property = ecs.CfnGateway.GatewayTestTrafficHeaderProperty(
    name="name",
    values=["values"]
)
```

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

GatewayTestTrafficHeaderProperty gatewayTestTrafficHeaderProperty = GatewayTestTrafficHeaderProperty.builder()
        .name("name")
        .values(List.of("values"))
        .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 gatewayTestTrafficHeaderProperty = new GatewayTestTrafficHeaderProperty {
    Name = "name",
    Values = new [] { "values" }
};
```

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"

gatewayTestTrafficHeaderProperty := &GatewayTestTrafficHeaderProperty{
	Name: jsii.String("name"),
	Values: []*string{
		jsii.String("values"),
	},
}
```

## Properties

- `name`: string (required) — The name of the header.

- `values`: string[] (required) — The values for the header.
