@Stability(value=Experimental) @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(Number port,
Boolean preserveClientIp,
Protocol protocol,
Boolean proxyProtocolV2,
List<? extends INetworkLoadBalancerTarget> targets,
Duration deregistrationDelay,
HealthCheck healthCheck,
String targetGroupName,
TargetType targetType,
IVpc vpc)
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) |
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.
|
TargetType |
getTargetType()
(experimental) The type of targets registered to this TargetGroup, either IP or Instance.
|
IVpc |
getVpc()
(experimental) 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(Number port, Boolean preserveClientIp, Protocol protocol, Boolean proxyProtocolV2, List<? extends INetworkLoadBalancerTarget> targets, Duration deregistrationDelay, HealthCheck healthCheck, String targetGroupName, TargetType targetType, IVpc vpc)
NetworkTargetGroupProps.Builder.public final Number getPort()
NetworkTargetGroupPropsgetPort 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: - None.
getHealthCheck in interface BaseTargetGroupPropspublic 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 © 2021. All rights reserved.