Class CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codedeploy.CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty>
- Enclosing interface:
CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty
@Stability(Stable)
public static final class CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty>
A builder for
CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.prodTrafficRoute(CfnDeploymentGroupPropsMixin.TrafficRouteProperty prodTrafficRoute) prodTrafficRoute(IResolvable prodTrafficRoute) targetGroups(List<? extends Object> targetGroups) targetGroups(IResolvable targetGroups) testTrafficRoute(CfnDeploymentGroupPropsMixin.TrafficRouteProperty testTrafficRoute) testTrafficRoute(IResolvable testTrafficRoute)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
prodTrafficRoute
@Stability(Stable) public CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty.Builder prodTrafficRoute(IResolvable prodTrafficRoute) - Parameters:
prodTrafficRoute- The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.- Returns:
this
-
prodTrafficRoute
@Stability(Stable) public CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty.Builder prodTrafficRoute(CfnDeploymentGroupPropsMixin.TrafficRouteProperty prodTrafficRoute) - Parameters:
prodTrafficRoute- The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.- Returns:
this
-
targetGroups
@Stability(Stable) public CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty.Builder targetGroups(IResolvable targetGroups) - Parameters:
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.- Returns:
this
-
targetGroups
@Stability(Stable) public CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty.Builder targetGroups(List<? extends Object> targetGroups) - Parameters:
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.- Returns:
this
-
testTrafficRoute
@Stability(Stable) public CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty.Builder testTrafficRoute(IResolvable testTrafficRoute) - Parameters:
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.- Returns:
this
-
testTrafficRoute
@Stability(Stable) public CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty.Builder testTrafficRoute(CfnDeploymentGroupPropsMixin.TrafficRouteProperty testTrafficRoute) - Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty>- Returns:
- a new instance of
CfnDeploymentGroupPropsMixin.TargetGroupPairInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-