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 DurationThe amount of time for Elastic Load Balancing to wait before deregistering a target.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 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 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
-
getLoadBalancingAlgorithmType
Description copied from interface:ApplicationTargetGroupPropsThe load balancing algorithm to select targets for routing requests.Default: TargetGroupLoadBalancingAlgorithmType.ROUND_ROBIN
- Specified by:
getLoadBalancingAlgorithmTypein interfaceApplicationTargetGroupProps
-
getPort
Description copied from interface:ApplicationTargetGroupPropsThe port on which the listener listens for requests.Default: - Determined from protocol if known, optional for Lambda targets.
- Specified by:
getPortin interfaceApplicationTargetGroupProps
-
getProtocol
Description copied from interface:ApplicationTargetGroupPropsThe protocol to use.Default: - Determined from port if known, optional for Lambda targets.
- 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: Duration.days(1)
- 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.
-
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
-
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.
-
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()
-