@Stability(value=Experimental) @Internal public static final class ApplicationTargetGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApplicationTargetGroupProps
ApplicationTargetGroupPropssoftware.amazon.jsii.JsiiObject.InitializationModeApplicationTargetGroupProps.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.
|
protected |
Jsii$Proxy(Number port,
ApplicationProtocol protocol,
ApplicationProtocolVersion protocolVersion,
Duration slowStart,
Duration stickinessCookieDuration,
String stickinessCookieName,
List<? extends IApplicationLoadBalancerTarget> targets,
Duration deregistrationDelay,
HealthCheck healthCheck,
String targetGroupName,
TargetType targetType,
IVpc vpc)
Constructor that initializes the object based on literal property values passed by the
ApplicationTargetGroupProps.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.
|
ApplicationProtocol |
getProtocol()
(experimental) The protocol to use.
|
ApplicationProtocolVersion |
getProtocolVersion()
(experimental) The protocol version to use.
|
Duration |
getSlowStart()
(experimental) 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()
(experimental) The stickiness cookie expiration period.
|
String |
getStickinessCookieName()
(experimental) The name of an application-based stickiness cookie.
|
String |
getTargetGroupName()
(experimental) The name of the target group.
|
List<IApplicationLoadBalancerTarget> |
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, ApplicationProtocol protocol, ApplicationProtocolVersion protocolVersion, Duration slowStart, Duration stickinessCookieDuration, String stickinessCookieName, List<? extends IApplicationLoadBalancerTarget> targets, Duration deregistrationDelay, HealthCheck healthCheck, String targetGroupName, TargetType targetType, IVpc vpc)
ApplicationTargetGroupProps.Builder.public final Number getPort()
ApplicationTargetGroupPropsDefault: - Determined from protocol if known, optional for Lambda targets.
getPort in interface ApplicationTargetGroupPropspublic final ApplicationProtocol getProtocol()
ApplicationTargetGroupPropsDefault: - Determined from port if known, optional for Lambda targets.
getProtocol in interface ApplicationTargetGroupPropspublic final ApplicationProtocolVersion getProtocolVersion()
ApplicationTargetGroupPropsDefault: ApplicationProtocolVersion.HTTP1
getProtocolVersion in interface ApplicationTargetGroupPropspublic final Duration getSlowStart()
ApplicationTargetGroupPropsThe range is 30-900 seconds (15 minutes).
Default: 0
getSlowStart in interface ApplicationTargetGroupPropspublic final Duration getStickinessCookieDuration()
ApplicationTargetGroupPropsSetting 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 ApplicationTargetGroupPropspublic final String getStickinessCookieName()
ApplicationTargetGroupPropsNames 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 ApplicationTargetGroupPropshttps://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.htmlpublic final 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 ApplicationTargetGroupPropspublic 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.