interface TrafficRouteProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.TrafficRouteProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CfnDeploymentGroup_TrafficRouteProperty |
![]() | software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.TrafficRouteProperty |
![]() | aws_cdk.aws_codedeploy.CfnDeploymentGroup.TrafficRouteProperty |
![]() | aws-cdk-lib » aws_codedeploy » CfnDeploymentGroup » 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 { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const trafficRouteProperty: codedeploy.CfnDeploymentGroup.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.