public static final class CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder
extends java.lang.Object
CfnDeploymentGroup.TargetGroupPairInfoProperty
Constructor and Description |
---|
Builder() |
public CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder prodTrafficRoute(IResolvable prodTrafficRoute)
CfnDeploymentGroup.TargetGroupPairInfoProperty.getProdTrafficRoute()
prodTrafficRoute
- The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.this
public CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder prodTrafficRoute(CfnDeploymentGroup.TrafficRouteProperty prodTrafficRoute)
CfnDeploymentGroup.TargetGroupPairInfoProperty.getProdTrafficRoute()
prodTrafficRoute
- The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.this
public CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder targetGroups(IResolvable targetGroups)
CfnDeploymentGroup.TargetGroupPairInfoProperty.getTargetGroups()
targetGroups
- One pair of target groups.
One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.this
public CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder targetGroups(java.util.List<? extends java.lang.Object> targetGroups)
CfnDeploymentGroup.TargetGroupPairInfoProperty.getTargetGroups()
targetGroups
- One pair of target groups.
One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.this
public CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder testTrafficRoute(IResolvable testTrafficRoute)
CfnDeploymentGroup.TargetGroupPairInfoProperty.getTestTrafficRoute()
testTrafficRoute
- An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.
Validation can occur while test traffic is served during a deployment.this
public CfnDeploymentGroup.TargetGroupPairInfoProperty.Builder testTrafficRoute(CfnDeploymentGroup.TrafficRouteProperty testTrafficRoute)
CfnDeploymentGroup.TargetGroupPairInfoProperty.getTestTrafficRoute()
testTrafficRoute
- An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.
Validation can occur while test traffic is served during a deployment.this
public CfnDeploymentGroup.TargetGroupPairInfoProperty build()
CfnDeploymentGroup.TargetGroupPairInfoProperty
java.lang.NullPointerException
- if any required attribute was not provided