@Stability(value=Stable) @Internal public static final class AddApplicationTargetsProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddApplicationTargetsProps
AddApplicationTargetsPropssoftware.amazon.jsii.JsiiObject.InitializationModeAddApplicationTargetsProps.Builder, AddApplicationTargetsProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AddApplicationTargetsProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AddApplicationTargetsProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<ListenerCondition> |
getConditions()
Rule applies if matches the conditions.
|
Duration |
getDeregistrationDelay()
The amount of time for Elastic Load Balancing to wait before deregistering a target.
|
HealthCheck |
getHealthCheck()
Health check configuration.
|
TargetGroupLoadBalancingAlgorithmType |
getLoadBalancingAlgorithmType()
The load balancing algorithm to select targets for routing requests.
|
Number |
getPort()
The port on which the listener listens for requests.
|
Number |
getPriority()
Priority of this target group.
|
ApplicationProtocol |
getProtocol()
The protocol to use.
|
ApplicationProtocolVersion |
getProtocolVersion()
The protocol version to use.
|
Duration |
getSlowStart()
The time period during which the load balancer sends a newly registered target a linearly increasing share of the traffic to the target group.
|
Duration |
getStickinessCookieDuration()
The stickiness cookie expiration period.
|
String |
getStickinessCookieName()
The name of an application-based stickiness cookie.
|
String |
getTargetGroupName()
The name of the target group.
|
List<IApplicationLoadBalancerTarget> |
getTargets()
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(AddApplicationTargetsProps.Builder builder)
AddApplicationTargetsProps.Builder.public final Duration getDeregistrationDelay()
AddApplicationTargetsPropsThe range is 0-3600 seconds.
Default: Duration.minutes(5)
getDeregistrationDelay in interface AddApplicationTargetsPropspublic final HealthCheck getHealthCheck()
AddApplicationTargetsPropsDefault: - The default value for each property in this configuration varies depending on the target.
public final TargetGroupLoadBalancingAlgorithmType getLoadBalancingAlgorithmType()
AddApplicationTargetsPropsDefault: round_robin.
getLoadBalancingAlgorithmType in interface AddApplicationTargetsPropspublic final Number getPort()
AddApplicationTargetsPropsDefault: Determined from protocol if known
getPort in interface AddApplicationTargetsPropspublic final ApplicationProtocol getProtocol()
AddApplicationTargetsPropsDefault: Determined from port if known
getProtocol in interface AddApplicationTargetsPropspublic final ApplicationProtocolVersion getProtocolVersion()
AddApplicationTargetsPropsDefault: ApplicationProtocolVersion.HTTP1
getProtocolVersion in interface AddApplicationTargetsPropspublic final Duration getSlowStart()
AddApplicationTargetsPropsThe range is 30-900 seconds (15 minutes).
Default: 0
getSlowStart in interface AddApplicationTargetsPropspublic final Duration getStickinessCookieDuration()
AddApplicationTargetsPropsSetting this value enables load balancer stickiness.
After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds).
Default: Stickiness disabled
getStickinessCookieDuration in interface AddApplicationTargetsPropspublic final String getStickinessCookieName()
AddApplicationTargetsPropsNames that start with the following prefixes are not allowed: AWSALB, AWSALBAPP, and AWSALBTG; they're reserved for use by the load balancer.
Note: stickinessCookieName parameter depends on the presence of stickinessCookieDuration parameter.
If stickinessCookieDuration is not set, stickinessCookieName will be omitted.
Default: - If `stickinessCookieDuration` is set, a load-balancer generated cookie is used. Otherwise, no stickiness is defined.
getStickinessCookieName in interface AddApplicationTargetsPropspublic final String getTargetGroupName()
AddApplicationTargetsPropsThis 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 AddApplicationTargetsPropspublic final List<IApplicationLoadBalancerTarget> getTargets()
AddApplicationTargetsProps
Can be Instance, IPAddress, or any self-registering load balancing
target. All target must be of the same type.
getTargets in interface AddApplicationTargetsPropspublic final List<ListenerCondition> getConditions()
AddRulePropsDefault: - No conditions.
getConditions in interface AddRulePropspublic final Number getPriority()
AddRulePropsThe rule with the lowest priority will be used for every request. If priority is not given, these target groups will be added as defaults, and must not have conditions.
Priorities must be unique.
Default: Target groups are used as defaults
getPriority in interface AddRuleProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.