Interface AddApplicationActionProps

All Superinterfaces:
AddRuleProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AddApplicationActionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.92.0 (build db7f27d)", date="2023-12-01T19:06:32.027Z") @Stability(Stable) public interface AddApplicationActionProps extends software.amazon.jsii.JsiiSerializable, AddRuleProps
Properties for adding a new action to a listener.

Example:

 ApplicationListener listener;
 listener.addAction("Fixed", AddApplicationActionProps.builder()
         .priority(10)
         .conditions(List.of(ListenerCondition.pathPatterns(List.of("/ok"))))
         .action(ListenerAction.fixedResponse(200, FixedResponseOptions.builder()
                 .contentType("text/plain")
                 .messageBody("OK")
                 .build()))
         .build());