Interface TargetGroupAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TargetGroupAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.754Z")
@Stability(Stable)
public interface TargetGroupAttributes
extends software.amazon.jsii.JsiiSerializable
Properties to reference an existing target group.
Example:
Stack stack; IApplicationTargetGroup targetGroup = ApplicationTargetGroup.fromTargetGroupAttributes(this, "MyTargetGroup", TargetGroupAttributes.builder() .targetGroupArn(Fn.importValue("TargetGroupArn")) .loadBalancerArns(Fn.importValue("LoadBalancerArn")) .build()); IApplicationTargetGroupMetrics targetGroupMetrics = targetGroup.getMetrics();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTargetGroupAttributes
static final class
An implementation forTargetGroupAttributes
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetGroupArn
ARN of the target group. -
getLoadBalancerArns
A Token representing the list of ARNs for the load balancer routing to this target group. -
builder
- Returns:
- a
TargetGroupAttributes.Builder
ofTargetGroupAttributes
-