public static interface CfnDeploymentGroup.TargetGroupPairInfoProperty
An optional test traffic route can be specified.
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.*; TargetGroupPairInfoProperty targetGroupPairInfoProperty = TargetGroupPairInfoProperty.builder() .prodTrafficRoute(TrafficRouteProperty.builder() .listenerArns(List.of("listenerArns")) .build()) .targetGroups(List.of(TargetGroupInfoProperty.builder() .name("name") .build())) .testTrafficRoute(TrafficRouteProperty.builder() .listenerArns(List.of("listenerArns")) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder
A builder for
CfnDeploymentGroup.TargetGroupPairInfoProperty |
static class |
CfnDeploymentGroup.TargetGroupPairInfoProperty.Jsii$Proxy
An implementation for
CfnDeploymentGroup.TargetGroupPairInfoProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder |
builder() |
default java.lang.Object |
getProdTrafficRoute()
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
|
default java.lang.Object |
getTargetGroups()
One pair of target groups.
|
default java.lang.Object |
getTestTrafficRoute()
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.
|
default java.lang.Object getProdTrafficRoute()
default java.lang.Object getTargetGroups()
One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.
default java.lang.Object getTestTrafficRoute()
Validation can occur while test traffic is served during a deployment.
static CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder builder()