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();
 
  • 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