Interface ForwardOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ForwardOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:52.019Z")
@Stability(Stable)
public interface ForwardOptions
extends software.amazon.jsii.JsiiSerializable
Options for
ListenerAction.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.*;
ForwardOptions forwardOptions = ForwardOptions.builder()
.stickinessDuration(Duration.minutes(30))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forForwardOptionsstatic final classAn implementation forForwardOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic ForwardOptions.Builderbuilder()default DurationFor how long clients should be directed to the same target group.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
ForwardOptions.BuilderofForwardOptions
-