Interface TargetGroupAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TargetGroupAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:05.505Z")
@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
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. -
getLoadBalancerArns
A Token representing the list of ARNs for the load balancer routing to this target group. -
builder
- Returns:
- a
TargetGroupAttributes.BuilderofTargetGroupAttributes
-