@Stability(value=Stable)
public static interface CfnDeploymentGroup.TargetGroupPairInfoProperty
extends software.amazon.jsii.JsiiSerializable
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 Object |
getProdTrafficRoute()
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
|
default Object |
getTargetGroups()
One pair of target groups.
|
default Object |
getTestTrafficRoute()
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.
|
@Stability(value=Stable) @Nullable default Object getProdTrafficRoute()
@Stability(value=Stable) @Nullable default 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.
@Stability(value=Stable) @Nullable default Object getTestTrafficRoute()
Validation can occur while test traffic is served during a deployment.
@Stability(value=Stable) static CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder builder()
Copyright © 2022. All rights reserved.