@Stability(value=Stable) @Internal public static final class NetworkTargetGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NetworkTargetGroupProps
NetworkTargetGroupPropssoftware.amazon.jsii.JsiiObject.InitializationModeNetworkTargetGroupProps.Builder, NetworkTargetGroupProps.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(NetworkTargetGroupProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
NetworkTargetGroupProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getConnectionTermination()
Indicates whether the load balancer terminates connections at the end of the deregistration timeout.
|
Duration |
getDeregistrationDelay()
The amount of time for Elastic Load Balancing to wait before deregistering a target.
|
HealthCheck |
getHealthCheck()
Health check configuration.
|
Number |
getPort()
The port on which the listener listens for requests.
|
Boolean |
getPreserveClientIp()
Indicates whether client IP preservation is enabled.
|
Protocol |
getProtocol()
Protocol for target group, expects TCP, TLS, UDP, or TCP_UDP.
|
Boolean |
getProxyProtocolV2()
Indicates whether Proxy Protocol version 2 is enabled.
|
String |
getTargetGroupName()
The name of the target group.
|
List<INetworkLoadBalancerTarget> |
getTargets()
The targets to add to this target group.
|
TargetType |
getTargetType()
The type of targets registered to this TargetGroup, either IP or Instance.
|
IVpc |
getVpc()
The virtual private cloud (VPC).
|
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(NetworkTargetGroupProps.Builder builder)
NetworkTargetGroupProps.Builder.public final Number getPort()
NetworkTargetGroupPropsgetPort in interface NetworkTargetGroupPropspublic final Boolean getConnectionTermination()
NetworkTargetGroupPropsDefault: false
getConnectionTermination in interface NetworkTargetGroupPropspublic final Boolean getPreserveClientIp()
NetworkTargetGroupPropsDefault: false if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, true.
getPreserveClientIp in interface NetworkTargetGroupPropspublic final Protocol getProtocol()
NetworkTargetGroupPropsDefault: - TCP
getProtocol in interface NetworkTargetGroupPropspublic final Boolean getProxyProtocolV2()
NetworkTargetGroupPropsDefault: false
getProxyProtocolV2 in interface NetworkTargetGroupPropspublic final List<INetworkLoadBalancerTarget> getTargets()
NetworkTargetGroupProps
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.
Default: - No targets.
getTargets in interface NetworkTargetGroupPropspublic final Duration getDeregistrationDelay()
BaseTargetGroupPropsThe range is 0-3600 seconds.
Default: 300
getDeregistrationDelay in interface BaseTargetGroupPropspublic final HealthCheck getHealthCheck()
BaseTargetGroupPropsDefault: - The default value for each property in this configuration varies depending on the target.
public final String getTargetGroupName()
BaseTargetGroupPropsThis 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 BaseTargetGroupPropspublic final TargetType getTargetType()
BaseTargetGroupPropsAll targets registered into the group must be of this type. If you register targets to the TargetGroup in the CDK app, the TargetType is determined automatically.
Default: - Determined automatically.
getTargetType in interface BaseTargetGroupPropspublic final IVpc getVpc()
BaseTargetGroupProps
only if TargetType is Ip or InstanceId
Default: - undefined
getVpc in interface BaseTargetGroupProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.