public static final class ApplicationTargetGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApplicationTargetGroupProps
ApplicationTargetGroupProps
ApplicationTargetGroupProps.Builder, ApplicationTargetGroupProps.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
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.
|
java.lang.Number |
getPort()
The port on which the listener listens for requests.
|
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.
|
java.lang.String |
getStickinessCookieName()
The name of an application-based stickiness cookie.
|
java.lang.String |
getTargetGroupName()
The name of the target group.
|
java.util.List<IApplicationLoadBalancerTarget> |
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() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final TargetGroupLoadBalancingAlgorithmType getLoadBalancingAlgorithmType()
ApplicationTargetGroupProps
Default: TargetGroupLoadBalancingAlgorithmType.ROUND_ROBIN
getLoadBalancingAlgorithmType
in interface ApplicationTargetGroupProps
public final java.lang.Number getPort()
ApplicationTargetGroupProps
Default: - Determined from protocol if known, optional for Lambda targets.
getPort
in interface ApplicationTargetGroupProps
public final ApplicationProtocol getProtocol()
ApplicationTargetGroupProps
Default: - Determined from port if known, optional for Lambda targets.
getProtocol
in interface ApplicationTargetGroupProps
public final ApplicationProtocolVersion getProtocolVersion()
ApplicationTargetGroupProps
Default: ApplicationProtocolVersion.HTTP1
getProtocolVersion
in interface ApplicationTargetGroupProps
public final Duration getSlowStart()
ApplicationTargetGroupProps
The range is 30-900 seconds (15 minutes).
Default: 0
getSlowStart
in interface ApplicationTargetGroupProps
public final Duration getStickinessCookieDuration()
ApplicationTargetGroupProps
Setting 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: Duration.days(1)
getStickinessCookieDuration
in interface ApplicationTargetGroupProps
public final java.lang.String getStickinessCookieName()
ApplicationTargetGroupProps
Names 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 ApplicationTargetGroupProps
public final java.util.List<IApplicationLoadBalancerTarget> getTargets()
ApplicationTargetGroupProps
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 ApplicationTargetGroupProps
public final Duration getDeregistrationDelay()
BaseTargetGroupProps
The range is 0-3600 seconds.
Default: 300
getDeregistrationDelay
in interface BaseTargetGroupProps
public final HealthCheck getHealthCheck()
BaseTargetGroupProps
Default: - The default value for each property in this configuration varies depending on the target.
public final java.lang.String getTargetGroupName()
BaseTargetGroupProps
This 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 BaseTargetGroupProps
public final TargetType getTargetType()
BaseTargetGroupProps
All 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 BaseTargetGroupProps
public final IVpc getVpc()
BaseTargetGroupProps
only if TargetType
is Ip
or InstanceId
Default: - undefined
getVpc
in interface BaseTargetGroupProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()