Interface TargetGroupAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
TargetGroupImportProps
- All Known Implementing Classes:
TargetGroupAttributes.Jsii$Proxy,TargetGroupImportProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.396Z")
@Stability(Stable)
public interface TargetGroupAttributes
extends software.amazon.jsii.JsiiSerializable
Properties to reference an existing target group.
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.elasticloadbalancingv2.*;
TargetGroupAttributes targetGroupAttributes = TargetGroupAttributes.builder()
.targetGroupArn("targetGroupArn")
// the properties below are optional
.defaultPort("defaultPort")
.loadBalancerArns("loadBalancerArns")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTargetGroupAttributesstatic final classAn implementation forTargetGroupAttributes -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetGroupArn
ARN of the target group. -
getDefaultPort
Deprecated.- This property is unused and the wrong type. No need to use it.
(deprecated) Port target group is listening on. -
getLoadBalancerArns
A Token representing the list of ARNs for the load balancer routing to this target group. -
builder
- Returns:
- a
TargetGroupAttributes.BuilderofTargetGroupAttributes
-