@Stability(value=Stable)
public static interface CfnDeploymentGroup.TrafficRouteProperty
extends software.amazon.jsii.JsiiSerializable
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 List<String> |
getListenerArns()
The Amazon Resource Name (ARN) of one listener.
|
@Stability(value=Stable) @Nullable default List<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.
@Stability(value=Stable) static CfnDeploymentGroup.TrafficRouteProperty.Builder builder()
Copyright © 2022. All rights reserved.