Interface ForwardOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ForwardOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:29.875Z") @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();
 
  • Method Details

    • getStickinessDuration

      @Stability(Stable) @Nullable default Duration getStickinessDuration()
      For how long clients should be directed to the same target group.

      Range between 1 second and 7 days.

      Default: - No stickiness

    • builder

      @Stability(Stable) static ForwardOptions.Builder builder()
      Returns:
      a ForwardOptions.Builder of ForwardOptions