Class AddApplicationTargetsProps.Jsii$Proxy
- All Implemented Interfaces:
AddApplicationTargetsProps
,AddRuleProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AddApplicationTargetsProps
AddApplicationTargetsProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.AddApplicationTargetsProps
AddApplicationTargetsProps.Builder, AddApplicationTargetsProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theAddApplicationTargetsProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final List<ListenerCondition>
Rule applies if matches the conditions.final Duration
The amount of time for Elastic Load Balancing to wait before deregistering a target.final Boolean
Indicates whether anomaly mitigation is enabled.final HealthCheck
Health check configuration.The load balancing algorithm to select targets for routing requests.final Number
getPort()
The port on which the listener listens for requests.final Number
Priority of this target group.final ApplicationProtocol
The protocol to use.The protocol version to use.final Duration
The time period during which the load balancer sends a newly registered target a linearly increasing share of the traffic to the target group.final Duration
The stickiness cookie expiration period.final String
The name of an application-based stickiness cookie.final String
The name of the target group.The targets to add to this target group.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theAddApplicationTargetsProps.Builder
.
-
-
Method Details
-
getDeregistrationDelay
Description copied from interface:AddApplicationTargetsProps
The amount of time for Elastic Load Balancing to wait before deregistering a target.The range is 0-3600 seconds.
Default: Duration.minutes(5)
- Specified by:
getDeregistrationDelay
in interfaceAddApplicationTargetsProps
-
getEnableAnomalyMitigation
Description copied from interface:AddApplicationTargetsProps
Indicates whether anomaly mitigation is enabled.Only available when
loadBalancingAlgorithmType
isTargetGroupLoadBalancingAlgorithmType.WEIGHTED_RANDOM
Default: false
- Specified by:
getEnableAnomalyMitigation
in interfaceAddApplicationTargetsProps
- See Also:
-
getHealthCheck
Description copied from interface:AddApplicationTargetsProps
Health check configuration.Default: - The default value for each property in this configuration varies depending on the target.
- Specified by:
getHealthCheck
in interfaceAddApplicationTargetsProps
- See Also:
-
getLoadBalancingAlgorithmType
Description copied from interface:AddApplicationTargetsProps
The load balancing algorithm to select targets for routing requests.Default: round_robin.
- Specified by:
getLoadBalancingAlgorithmType
in interfaceAddApplicationTargetsProps
-
getPort
Description copied from interface:AddApplicationTargetsProps
The port on which the listener listens for requests.Default: Determined from protocol if known
- Specified by:
getPort
in interfaceAddApplicationTargetsProps
-
getProtocol
Description copied from interface:AddApplicationTargetsProps
The protocol to use.Default: Determined from port if known
- Specified by:
getProtocol
in interfaceAddApplicationTargetsProps
-
getProtocolVersion
Description copied from interface:AddApplicationTargetsProps
The protocol version to use.Default: ApplicationProtocolVersion.HTTP1
- Specified by:
getProtocolVersion
in interfaceAddApplicationTargetsProps
-
getSlowStart
Description copied from interface:AddApplicationTargetsProps
The time period during which the load balancer sends a newly registered target a linearly increasing share of the traffic to the target group.The range is 30-900 seconds (15 minutes).
Default: 0
- Specified by:
getSlowStart
in interfaceAddApplicationTargetsProps
-
getStickinessCookieDuration
Description copied from interface:AddApplicationTargetsProps
The stickiness cookie expiration period.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: Stickiness disabled
- Specified by:
getStickinessCookieDuration
in interfaceAddApplicationTargetsProps
-
getStickinessCookieName
Description copied from interface:AddApplicationTargetsProps
The name of an application-based stickiness cookie.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 ofstickinessCookieDuration
parameter. IfstickinessCookieDuration
is not set,stickinessCookieName
will be omitted.Default: - If `stickinessCookieDuration` is set, a load-balancer generated cookie is used. Otherwise, no stickiness is defined.
- Specified by:
getStickinessCookieName
in interfaceAddApplicationTargetsProps
- See Also:
-
getTargetGroupName
Description copied from interface:AddApplicationTargetsProps
The name of the target group.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
- Specified by:
getTargetGroupName
in interfaceAddApplicationTargetsProps
-
getTargets
Description copied from interface:AddApplicationTargetsProps
The targets to add to this target group.Can be
Instance
,IPAddress
, or any self-registering load balancing target. All target must be of the same type.- Specified by:
getTargets
in interfaceAddApplicationTargetsProps
-
getConditions
Description copied from interface:AddRuleProps
Rule applies if matches the conditions.Default: - No conditions.
- Specified by:
getConditions
in interfaceAddRuleProps
- See Also:
-
getPriority
Description copied from interface:AddRuleProps
Priority of this target group.The 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
- Specified by:
getPriority
in interfaceAddRuleProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-