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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.AddApplicationTargetsProps
AddApplicationTargetsProps.Builder, AddApplicationTargetsProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theAddApplicationTargetsProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal List<ListenerCondition> Rule applies if matches the conditions.final DurationThe amount of time for Elastic Load Balancing to wait before deregistering a target.final BooleanIndicates whether anomaly mitigation is enabled.final HealthCheckHealth check configuration.The load balancing algorithm to select targets for routing requests.final NumbergetPort()The port on which the listener listens for requests.final NumberPriority of this target group.final ApplicationProtocolThe protocol to use.The protocol version to use.final DurationThe time period during which the load balancer sends a newly registered target a linearly increasing share of the traffic to the target group.final DurationThe stickiness cookie expiration period.final StringThe name of an application-based stickiness cookie.final StringThe name of the target group.The targets to add to this target group.final inthashCode()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:AddApplicationTargetsPropsThe 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:
getDeregistrationDelayin interfaceAddApplicationTargetsProps
-
getEnableAnomalyMitigation
Description copied from interface:AddApplicationTargetsPropsIndicates whether anomaly mitigation is enabled.Only available when
loadBalancingAlgorithmTypeisTargetGroupLoadBalancingAlgorithmType.WEIGHTED_RANDOMDefault: false
- Specified by:
getEnableAnomalyMitigationin interfaceAddApplicationTargetsProps- See Also:
-
getHealthCheck
Description copied from interface:AddApplicationTargetsPropsHealth check configuration.Default: - The default value for each property in this configuration varies depending on the target.
- Specified by:
getHealthCheckin interfaceAddApplicationTargetsProps- See Also:
-
getLoadBalancingAlgorithmType
Description copied from interface:AddApplicationTargetsPropsThe load balancing algorithm to select targets for routing requests.Default: round_robin.
- Specified by:
getLoadBalancingAlgorithmTypein interfaceAddApplicationTargetsProps
-
getPort
Description copied from interface:AddApplicationTargetsPropsThe port on which the listener listens for requests.Default: Determined from protocol if known
- Specified by:
getPortin interfaceAddApplicationTargetsProps
-
getProtocol
Description copied from interface:AddApplicationTargetsPropsThe protocol to use.Default: Determined from port if known
- Specified by:
getProtocolin interfaceAddApplicationTargetsProps
-
getProtocolVersion
Description copied from interface:AddApplicationTargetsPropsThe protocol version to use.Default: ApplicationProtocolVersion.HTTP1
- Specified by:
getProtocolVersionin interfaceAddApplicationTargetsProps
-
getSlowStart
Description copied from interface:AddApplicationTargetsPropsThe 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:
getSlowStartin interfaceAddApplicationTargetsProps
-
getStickinessCookieDuration
Description copied from interface:AddApplicationTargetsPropsThe 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:
getStickinessCookieDurationin interfaceAddApplicationTargetsProps
-
getStickinessCookieName
Description copied from interface:AddApplicationTargetsPropsThe 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:
stickinessCookieNameparameter depends on the presence ofstickinessCookieDurationparameter. IfstickinessCookieDurationis not set,stickinessCookieNamewill be omitted.Default: - If `stickinessCookieDuration` is set, a load-balancer generated cookie is used. Otherwise, no stickiness is defined.
- Specified by:
getStickinessCookieNamein interfaceAddApplicationTargetsProps- See Also:
-
getTargetGroupName
Description copied from interface:AddApplicationTargetsPropsThe 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:
getTargetGroupNamein interfaceAddApplicationTargetsProps
-
getTargets
Description copied from interface:AddApplicationTargetsPropsThe 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:
getTargetsin interfaceAddApplicationTargetsProps
-
getConditions
Description copied from interface:AddRulePropsRule applies if matches the conditions.Default: - No conditions.
- Specified by:
getConditionsin interfaceAddRuleProps- See Also:
-
getPriority
Description copied from interface:AddRulePropsPriority 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:
getPriorityin interfaceAddRuleProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-