Interface AddApplicationActionProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.154Z") @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(ContentType.TEXT_PLAIN)
                 .messageBody("OK")
                 .build()))
         .build());