interface TrafficRouteProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeDeploy.Mixins.CfnDeploymentGroupPropsMixin.TrafficRouteProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodedeploy/mixins#CfnDeploymentGroupPropsMixin_TrafficRouteProperty |
Java | software.amazon.awscdk.mixins.preview.services.codedeploy.mixins.CfnDeploymentGroupPropsMixin.TrafficRouteProperty |
Python | aws_cdk.mixins_preview.aws_codedeploy.mixins.CfnDeploymentGroupPropsMixin.TrafficRouteProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codedeploy » mixins » CfnDeploymentGroupPropsMixin » 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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codedeploy_mixins } from '@aws-cdk/mixins-preview/aws-codedeploy';
const trafficRouteProperty: codedeploy_mixins.CfnDeploymentGroupPropsMixin.TrafficRouteProperty = {
listenerArns: ['listenerArns'],
};
Properties
| Name | Type | Description |
|---|---|---|
| listener | string[] | The Amazon Resource Name (ARN) of one listener. |
listenerArns?
Type:
string[]
(optional)
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.

.NET
Go
Java
Python
TypeScript