src/main/java/com/ecs/cicd/DeploymentGroupRequestCreator.java [38:56]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                          Role serviceRole,
                                          NetworkListener productionListener,
                                          NetworkListener greenListener,
                                          String blueTarget,
                                          String targetGreen,
                                          String clusterName,
                                          String serviceName,
                                          String deploymentGroupName) {

        LoadBalancerInfo loadBalancerInfo = new LoadBalancerInfo()
                .withTargetGroupPairInfoList(new TargetGroupPairInfo()
                        .withProdTrafficRoute(new TrafficRoute()
                                .withListenerArns(productionListener.getListenerArn()))
                        .withTestTrafficRoute(new TrafficRoute()
                                .withListenerArns(greenListener.getListenerArn()))
                        .withTargetGroups(new TargetGroupInfo()
                                        .withName(blueTarget),
                                new TargetGroupInfo()
                                        .withName(targetGreen)));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/com/ecs/cicd/DeploymentGroupRequestCreator.java [79:97]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                      Role serviceRole,
                                      NetworkListener productionListener,
                                      NetworkListener greenListener,
                                      String blueTarget,
                                      String targetGreen,
                                      String clusterName,
                                      String serviceName,
                                      String deploymentGroupName) {

        LoadBalancerInfo loadBalancerInfo = new LoadBalancerInfo()
                .withTargetGroupPairInfoList(new TargetGroupPairInfo()
                        .withProdTrafficRoute(new TrafficRoute()
                                .withListenerArns(productionListener.getListenerArn()))
                        .withTestTrafficRoute(new TrafficRoute()
                                .withListenerArns(greenListener.getListenerArn()))
                        .withTargetGroups(new TargetGroupInfo()
                                        .withName(blueTarget),
                                new TargetGroupInfo()
                                        .withName(targetGreen)));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



