@Stability(value=Experimental) @Internal public static final class AddNetworkTargetsProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddNetworkTargetsProps
AddNetworkTargetsPropssoftware.amazon.jsii.JsiiObject.InitializationModeAddNetworkTargetsProps.Builder, AddNetworkTargetsProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Number port,
Duration deregistrationDelay,
HealthCheck healthCheck,
Boolean preserveClientIp,
Protocol protocol,
Boolean proxyProtocolV2,
String targetGroupName,
List<? extends INetworkLoadBalancerTarget> targets)
Constructor that initializes the object based on literal property values passed by the
AddNetworkTargetsProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Duration |
getDeregistrationDelay()
(experimental) The amount of time for Elastic Load Balancing to wait before deregistering a target.
|
HealthCheck |
getHealthCheck()
(experimental) Health check configuration.
|
Number |
getPort()
(experimental) The port on which the listener listens for requests.
|
Boolean |
getPreserveClientIp()
(experimental) Indicates whether client IP preservation is enabled.
|
Protocol |
getProtocol()
(experimental) Protocol for target group, expects TCP, TLS, UDP, or TCP_UDP.
|
Boolean |
getProxyProtocolV2()
(experimental) Indicates whether Proxy Protocol version 2 is enabled.
|
String |
getTargetGroupName()
(experimental) The name of the target group.
|
List<INetworkLoadBalancerTarget> |
getTargets()
(experimental) The targets to add to this target group.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Number port, Duration deregistrationDelay, HealthCheck healthCheck, Boolean preserveClientIp, Protocol protocol, Boolean proxyProtocolV2, String targetGroupName, List<? extends INetworkLoadBalancerTarget> targets)
AddNetworkTargetsProps.Builder.public final Number getPort()
AddNetworkTargetsPropsDefault: Determined from protocol if known
getPort in interface AddNetworkTargetsPropspublic final Duration getDeregistrationDelay()
AddNetworkTargetsPropsThe range is 0-3600 seconds.
Default: Duration.minutes(5)
getDeregistrationDelay in interface AddNetworkTargetsPropspublic final HealthCheck getHealthCheck()
AddNetworkTargetsPropsDefault: No health check
getHealthCheck in interface AddNetworkTargetsPropspublic final Boolean getPreserveClientIp()
AddNetworkTargetsPropsDefault: false if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, true.
getPreserveClientIp in interface AddNetworkTargetsPropspublic final Protocol getProtocol()
AddNetworkTargetsPropsDefault: - inherits the protocol of the listener
getProtocol in interface AddNetworkTargetsPropspublic final Boolean getProxyProtocolV2()
AddNetworkTargetsPropsDefault: false
getProxyProtocolV2 in interface AddNetworkTargetsPropspublic final String getTargetGroupName()
AddNetworkTargetsPropsThis name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
Default: Automatically generated
getTargetGroupName in interface AddNetworkTargetsPropspublic final List<INetworkLoadBalancerTarget> getTargets()
AddNetworkTargetsProps
Can be Instance, IPAddress, or any self-registering load balancing
target. If you use either Instance or IPAddress as targets, all
target must be of the same type.
getTargets in interface AddNetworkTargetsProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.