Interface CfnDeploymentGroup.TargetGroupPairInfoProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDeploymentGroup.TargetGroupPairInfoProperty.Jsii$Proxy
Enclosing class:
CfnDeploymentGroup

@Stability(Stable) public static interface CfnDeploymentGroup.TargetGroupPairInfoProperty extends software.amazon.jsii.JsiiSerializable
Information about two target groups and how traffic is routed during an Amazon ECS deployment.

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();
 

See Also: