interface TargetGroupTupleProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElasticLoadBalancingV2.CfnListenerRule.TargetGroupTupleProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#CfnListenerRule_TargetGroupTupleProperty |
![]() | software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRule.TargetGroupTupleProperty |
![]() | aws_cdk.aws_elasticloadbalancingv2.CfnListenerRule.TargetGroupTupleProperty |
![]() | aws-cdk-lib » aws_elasticloadbalancingv2 » CfnListenerRule » TargetGroupTupleProperty |
Information about how traffic will be distributed between multiple target groups in a forward rule.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
const targetGroupTupleProperty: elbv2.CfnListenerRule.TargetGroupTupleProperty = {
targetGroupArn: 'targetGroupArn',
weight: 123,
};
Properties
Name | Type | Description |
---|---|---|
target | string | The Amazon Resource Name (ARN) of the target group. |
weight? | number | The weight. |
targetGroupArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the target group.
weight?
Type:
number
(optional)
The weight.
The range is 0 to 999.