@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:19.819Z") @Stability(value=Experimental) public class NetworkTargetGroup extends TargetGroupBase implements INetworkTargetGroup
| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkTargetGroup.Builder
(experimental) A fluent builder for
NetworkTargetGroup. |
software.amazon.jsii.JsiiObject.InitializationModeINetworkTargetGroup.Jsii$Default, INetworkTargetGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
NetworkTargetGroup(software.constructs.Construct scope,
String id,
NetworkTargetGroupProps props) |
protected |
NetworkTargetGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NetworkTargetGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTarget(INetworkLoadBalancerTarget... targets)
(experimental) Add a load balancing target to this target group.
|
static INetworkTargetGroup |
fromTargetGroupAttributes(software.constructs.Construct scope,
String id,
TargetGroupAttributes attrs)
(experimental) Import an existing target group.
|
String |
getFirstLoadBalancerFullName()
(experimental) Full name of first load balancer.
|
Metric |
metricHealthyHostCount()
(experimental) The number of targets that are considered healthy.
|
Metric |
metricHealthyHostCount(MetricOptions props)
(experimental) The number of targets that are considered healthy.
|
Metric |
metricUnHealthyHostCount()
(experimental) The number of targets that are considered unhealthy.
|
Metric |
metricUnHealthyHostCount(MetricOptions props)
(experimental) The number of targets that are considered unhealthy.
|
void |
registerListener(INetworkListener listener)
(experimental) Register a listener that is load balancing to this target group.
|
protected List<String> |
validateTargetGroup() |
addLoadBalancerTarget, configureHealthCheck, getDefaultPort, getHealthCheck, getLoadBalancerArns, getLoadBalancerAttached, getLoadBalancerAttachedDependencies, getTargetGroupArn, getTargetGroupFullName, getTargetGroupLoadBalancerArns, getTargetGroupName, getTargetType, setAttribute, setAttribute, setHealthCheck, setTargetTypejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLoadBalancerArns, getLoadBalancerAttached, getTargetGroupArnprotected NetworkTargetGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected NetworkTargetGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public NetworkTargetGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
NetworkTargetGroupProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static INetworkTargetGroup fromTargetGroupAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull TargetGroupAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental)
public void addTarget(@NotNull
INetworkLoadBalancerTarget... targets)
addTarget in interface INetworkTargetGrouptargets - This parameter is required.@Stability(value=Experimental) @NotNull public Metric metricHealthyHostCount(@Nullable MetricOptions props)
Default: Average over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricHealthyHostCount()
Default: Average over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricUnHealthyHostCount(@Nullable MetricOptions props)
Default: Average over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricUnHealthyHostCount()
Default: Average over 5 minutes
@Stability(value=Experimental)
public void registerListener(@NotNull
INetworkListener listener)
Don't call this directly. It will be called by listeners.
registerListener in interface INetworkTargetGrouplistener - This parameter is required.@Stability(value=Experimental) @NotNull protected List<String> validateTargetGroup()
validateTargetGroup in class TargetGroupBase@Stability(value=Experimental) @NotNull public String getFirstLoadBalancerFullName()
getFirstLoadBalancerFullName in class TargetGroupBaseCopyright © 2021. All rights reserved.