interface ForwardConfigProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.CfnListener.ForwardConfigProperty | 
|  Java | software.amazon.awscdk.services.elasticloadbalancingv2.CfnListener.ForwardConfigProperty | 
|  Python | aws_cdk.aws_elasticloadbalancingv2.CfnListener.ForwardConfigProperty | 
|  TypeScript | @aws-cdk/aws-elasticloadbalancingv2»CfnListener»ForwardConfigProperty | 
Information for creating an action that distributes requests among one or more target groups.
For Network Load Balancers, you can specify a single target group. Specify only when Type is forward . If you specify both ForwardConfig and TargetGroupArn , you can specify only one target group using ForwardConfig and it must be the same target group specified in TargetGroupArn .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as elbv2 from '@aws-cdk/aws-elasticloadbalancingv2';
const forwardConfigProperty: elbv2.CfnListener.ForwardConfigProperty = {
  targetGroups: [{
    targetGroupArn: 'targetGroupArn',
    weight: 123,
  }],
  targetGroupStickinessConfig: {
    durationSeconds: 123,
    enabled: false,
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| target | IResolvable | Target | Information about the target group stickiness for a rule. | 
| target | IResolvable | IResolvable | Target[] | Information about how traffic will be distributed between multiple target groups in a forward rule. | 
targetGroupStickinessConfig?
Type:
IResolvable | Target
(optional)
Information about the target group stickiness for a rule.
targetGroups?
Type:
IResolvable | IResolvable | Target[]
(optional)
Information about how traffic will be distributed between multiple target groups in a forward rule.
