Class ApplicationTargetGroupProps.Jsii$Proxy
- All Implemented Interfaces:
ApplicationTargetGroupProps
,BaseTargetGroupProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ApplicationTargetGroupProps
ApplicationTargetGroupProps
-
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.ApplicationTargetGroupProps
ApplicationTargetGroupProps.Builder, ApplicationTargetGroupProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theApplicationTargetGroupProps.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 Boolean
Indicates whether cross zone load balancing is enabled.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 target receives traffic.final ApplicationProtocol
The protocol used for communication with the target.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 TargetType
The type of targets registered to this TargetGroup, either IP or Instance.final IVpc
getVpc()
The virtual private cloud (VPC).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 theApplicationTargetGroupProps.Builder
.
-
-
Method Details
-
getEnableAnomalyMitigation
Description copied from interface:ApplicationTargetGroupProps
Indicates whether anomaly mitigation is enabled.Only available when
loadBalancingAlgorithmType
isTargetGroupLoadBalancingAlgorithmType.WEIGHTED_RANDOM
Default: false
- Specified by:
getEnableAnomalyMitigation
in interfaceApplicationTargetGroupProps
- See Also:
-
getLoadBalancingAlgorithmType
Description copied from interface:ApplicationTargetGroupProps
The load balancing algorithm to select targets for routing requests.Default: TargetGroupLoadBalancingAlgorithmType.ROUND_ROBIN
- Specified by:
getLoadBalancingAlgorithmType
in interfaceApplicationTargetGroupProps
-
getPort
Description copied from interface:ApplicationTargetGroupProps
The port on which the target receives traffic.This is not applicable for Lambda targets.
Default: - Determined from protocol if known
- Specified by:
getPort
in interfaceApplicationTargetGroupProps
-
getProtocol
Description copied from interface:ApplicationTargetGroupProps
The protocol used for communication with the target.This is not applicable for Lambda targets.
Default: - Determined from port if known
- Specified by:
getProtocol
in interfaceApplicationTargetGroupProps
-
getProtocolVersion
Description copied from interface:ApplicationTargetGroupProps
The protocol version to use.Default: ApplicationProtocolVersion.HTTP1
- Specified by:
getProtocolVersion
in interfaceApplicationTargetGroupProps
-
getSlowStart
Description copied from interface:ApplicationTargetGroupProps
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 interfaceApplicationTargetGroupProps
-
getStickinessCookieDuration
Description copied from interface:ApplicationTargetGroupProps
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 is disabled
- Specified by:
getStickinessCookieDuration
in interfaceApplicationTargetGroupProps
-
getStickinessCookieName
Description copied from interface:ApplicationTargetGroupProps
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 interfaceApplicationTargetGroupProps
- See Also:
-
getTargets
Description copied from interface:ApplicationTargetGroupProps
The targets to add to this target group.Can be
Instance
,IPAddress
, or any self-registering load balancing target. If you use eitherInstance
orIPAddress
as targets, all target must be of the same type.Default: - No targets.
- Specified by:
getTargets
in interfaceApplicationTargetGroupProps
-
getCrossZoneEnabled
Description copied from interface:BaseTargetGroupProps
Indicates whether cross zone load balancing is enabled.Default: - use load balancer configuration
- Specified by:
getCrossZoneEnabled
in interfaceBaseTargetGroupProps
- See Also:
-
getDeregistrationDelay
Description copied from interface:BaseTargetGroupProps
The amount of time for Elastic Load Balancing to wait before deregistering a target.The range is 0-3600 seconds.
Default: 300
- Specified by:
getDeregistrationDelay
in interfaceBaseTargetGroupProps
-
getHealthCheck
Description copied from interface:BaseTargetGroupProps
Health check configuration.Default: - The default value for each property in this configuration varies depending on the target.
- Specified by:
getHealthCheck
in interfaceBaseTargetGroupProps
- See Also:
-
getTargetGroupName
Description copied from interface:BaseTargetGroupProps
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 interfaceBaseTargetGroupProps
-
getTargetType
Description copied from interface:BaseTargetGroupProps
The type of targets registered to this TargetGroup, either IP or Instance.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.
- Specified by:
getTargetType
in interfaceBaseTargetGroupProps
-
getVpc
Description copied from interface:BaseTargetGroupProps
The virtual private cloud (VPC).only if
TargetType
isIp
orInstanceId
Default: - undefined
- Specified by:
getVpc
in interfaceBaseTargetGroupProps
-
$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()
-