public static interface CfnDeploymentGroup.TrafficRouteProperty
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 software.amazon.awscdk.services.codedeploy.*; TrafficRouteProperty trafficRouteProperty = TrafficRouteProperty.builder() .listenerArns(List.of("listenerArns")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDeploymentGroup.TrafficRouteProperty.Builder
A builder for
CfnDeploymentGroup.TrafficRouteProperty |
static class |
CfnDeploymentGroup.TrafficRouteProperty.Jsii$Proxy
An implementation for
CfnDeploymentGroup.TrafficRouteProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDeploymentGroup.TrafficRouteProperty.Builder |
builder() |
default java.util.List<java.lang.String> |
getListenerArns()
The Amazon Resource Name (ARN) of one listener.
|
default java.util.List<java.lang.String> getListenerArns()
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.
static CfnDeploymentGroup.TrafficRouteProperty.Builder builder()