# TrafficRouteProperty

Information about a listener.

The listener contains the path used to route traffic that is received from the load balancer to a target group.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const trafficRouteProperty: codedeploy.CfnDeploymentGroup.TrafficRouteProperty = {
  listenerArns: ['listenerArns'],
};
```

## Properties

- `listenerArns`: string[] — The Amazon Resource Name (ARN) of one listener.

  The listener identifies the route between a target group and a load balancer. This is an array of strings with a maximum size of one.
