Interface CfnDeploymentGroup.TargetGroupInfoProperty

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

@Stability(Stable) public static interface CfnDeploymentGroup.TargetGroupInfoProperty extends software.amazon.jsii.JsiiSerializable
The TargetGroupInfo property type specifies information about a target group in Elastic Load Balancing to use in a deployment.

Instances are registered as targets in a target group, and traffic is routed to the target group. For more information, see TargetGroupInfo in the AWS CodeDeploy API Reference

If you specify the TargetGroupInfo property, the DeploymentStyle.DeploymentOption property must be set to WITH_TRAFFIC_CONTROL for CodeDeploy to route your traffic using the specified target groups.

TargetGroupInfo is a property of the LoadBalancerInfo property type.

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.*;
 TargetGroupInfoProperty targetGroupInfoProperty = TargetGroupInfoProperty.builder()
         .name("name")
         .build();
 

See Also: