Interface ForwardOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ForwardOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.339Z")
@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.services.elasticloadbalancingv2.*; import software.amazon.awscdk.core.*; ForwardOptions forwardOptions = ForwardOptions.builder() .stickinessDuration(Duration.minutes(30)) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forForwardOptions
static final class
An implementation forForwardOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic ForwardOptions.Builder
builder()
default Duration
For 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.Builder
ofForwardOptions
-