TargetGroupImportProps
- class aws_cdk.aws_elasticloadbalancingv2.TargetGroupImportProps(*, target_group_arn, default_port=None, load_balancer_arns=None)
Bases:
TargetGroupAttributes
(deprecated) Properties to reference an existing target group.
- Parameters:
target_group_arn (
str
) – ARN of the target group.default_port (
Optional
[str
]) – (deprecated) Port target group is listening on.load_balancer_arns (
Optional
[str
]) – A Token representing the list of ARNs for the load balancer routing to this target group.
- Deprecated:
Use TargetGroupAttributes instead
- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_elasticloadbalancingv2 as elbv2 target_group_import_props = elbv2.TargetGroupImportProps( target_group_arn="targetGroupArn", # the properties below are optional default_port="defaultPort", load_balancer_arns="loadBalancerArns" )
Attributes
- default_port
(deprecated) Port target group is listening on.
- Deprecated:
This property is unused and the wrong type. No need to use it.
- Stability:
deprecated
- load_balancer_arns
A Token representing the list of ARNs for the load balancer routing to this target group.
- target_group_arn
ARN of the target group.