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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroupProps
ApplicationTargetGroupProps.Builder, ApplicationTargetGroupProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theApplicationTargetGroupProps.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 BooleanIndicates whether cross zone load balancing is enabled.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.final TargetGroupIpAddressTypeThe type of IP addresses of the targets registered with the target group.The load balancing algorithm to select targets for routing requests.final BooleanIndicates whether the target group supports multi-value headers.final NumbergetPort()The port on which the target receives traffic.final ApplicationProtocolThe protocol used for communication with the target.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 TargetGroupHealthConfiguring target group health.final StringThe name of the target group.The targets to add to this target group.final TargetTypeThe type of targets registered to this TargetGroup, either IP or Instance.final IVpcgetVpc()The virtual private cloud (VPC).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 theApplicationTargetGroupProps.Builder.
-
-
Method Details
-
getEnableAnomalyMitigation
Description copied from interface:ApplicationTargetGroupPropsIndicates whether anomaly mitigation is enabled.Only available when
loadBalancingAlgorithmTypeisTargetGroupLoadBalancingAlgorithmType.WEIGHTED_RANDOMDefault: false
- Specified by:
getEnableAnomalyMitigationin interfaceApplicationTargetGroupProps- See Also:
-
getLoadBalancingAlgorithmType
Description copied from interface:ApplicationTargetGroupPropsThe load balancing algorithm to select targets for routing requests.Default: TargetGroupLoadBalancingAlgorithmType.ROUND_ROBIN
- Specified by:
getLoadBalancingAlgorithmTypein interfaceApplicationTargetGroupProps
-
getMultiValueHeadersEnabled
Description copied from interface:ApplicationTargetGroupPropsIndicates whether the target group supports multi-value headers.If the value is true, the request and response headers exchanged between the load balancer and the Lambda function include arrays of values or strings.
Only applicable for Lambda targets.
Default: false
- Specified by:
getMultiValueHeadersEnabledin interfaceApplicationTargetGroupProps- See Also:
-
getPort
Description copied from interface:ApplicationTargetGroupPropsThe port on which the target receives traffic.This is not applicable for Lambda targets.
Default: - Determined from protocol if known
- Specified by:
getPortin interfaceApplicationTargetGroupProps
-
getProtocol
Description copied from interface:ApplicationTargetGroupPropsThe protocol used for communication with the target.This is not applicable for Lambda targets.
Default: - Determined from port if known
- Specified by:
getProtocolin interfaceApplicationTargetGroupProps
-
getProtocolVersion
Description copied from interface:ApplicationTargetGroupPropsThe protocol version to use.Default: ApplicationProtocolVersion.HTTP1
- Specified by:
getProtocolVersionin interfaceApplicationTargetGroupProps
-
getSlowStart
Description copied from interface:ApplicationTargetGroupPropsThe 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 interfaceApplicationTargetGroupProps
-
getStickinessCookieDuration
Description copied from interface:ApplicationTargetGroupPropsThe 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:
getStickinessCookieDurationin interfaceApplicationTargetGroupProps
-
getStickinessCookieName
Description copied from interface:ApplicationTargetGroupPropsThe 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 interfaceApplicationTargetGroupProps- See Also:
-
getTargets
Description copied from interface:ApplicationTargetGroupPropsThe targets to add to this target group.Can be
Instance,IPAddress, or any self-registering load balancing target. If you use eitherInstanceorIPAddressas targets, all target must be of the same type.Default: - No targets.
- Specified by:
getTargetsin interfaceApplicationTargetGroupProps
-
getCrossZoneEnabled
Description copied from interface:BaseTargetGroupPropsIndicates whether cross zone load balancing is enabled.Default: - use load balancer configuration
- Specified by:
getCrossZoneEnabledin interfaceBaseTargetGroupProps- See Also:
-
getDeregistrationDelay
Description copied from interface:BaseTargetGroupPropsThe amount of time for Elastic Load Balancing to wait before deregistering a target.The range is 0-3600 seconds.
Default: 300
- Specified by:
getDeregistrationDelayin interfaceBaseTargetGroupProps
-
getHealthCheck
Description copied from interface:BaseTargetGroupPropsHealth check configuration.Default: - The default value for each property in this configuration varies depending on the target.
- Specified by:
getHealthCheckin interfaceBaseTargetGroupProps- See Also:
-
getIpAddressType
Description copied from interface:BaseTargetGroupPropsThe type of IP addresses of the targets registered with the target group.Default: undefined - ELB defaults to IPv4
- Specified by:
getIpAddressTypein interfaceBaseTargetGroupProps
-
getTargetGroupHealth
Description copied from interface:BaseTargetGroupPropsConfiguring target group health.Default: - use default configuration
- Specified by:
getTargetGroupHealthin interfaceBaseTargetGroupProps- See Also:
-
getTargetGroupName
Description copied from interface:BaseTargetGroupPropsThe 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 interfaceBaseTargetGroupProps
-
getTargetType
Description copied from interface:BaseTargetGroupPropsThe 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:
getTargetTypein interfaceBaseTargetGroupProps
-
getVpc
Description copied from interface:BaseTargetGroupPropsThe virtual private cloud (VPC).only if
TargetTypeisIporInstanceIdDefault: - undefined
- Specified by:
getVpcin interfaceBaseTargetGroupProps
-
$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()
-