Interface NetworkForwardOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NetworkForwardOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:19.277Z")
@Stability(Stable)
public interface NetworkForwardOptions
extends software.amazon.jsii.JsiiSerializable
Options for
NetworkListenerAction.forward()
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; import software.amazon.awscdk.services.elasticloadbalancingv2.*; NetworkForwardOptions networkForwardOptions = NetworkForwardOptions.builder() .stickinessDuration(Duration.minutes(30)) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forNetworkForwardOptions
static final class
An implementation forNetworkForwardOptions
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStickinessDuration
For how long clients should be directed to the same target group.Range between 1 second and 7 days.
Default: - No stickiness
-
builder
- Returns:
- a
NetworkForwardOptions.Builder
ofNetworkForwardOptions
-