Interface BaseApplicationListenerRuleProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
ApplicationListenerRuleProps
All Known Implementing Classes:
ApplicationListenerRuleProps.Jsii$Proxy, BaseApplicationListenerRuleProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.218Z") @Stability(Stable) public interface BaseApplicationListenerRuleProps extends software.amazon.jsii.JsiiSerializable
Basic properties for defining a rule on a listener.

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.*;
 ApplicationTargetGroup applicationTargetGroup;
 ListenerAction listenerAction;
 ListenerCondition listenerCondition;
 BaseApplicationListenerRuleProps baseApplicationListenerRuleProps = BaseApplicationListenerRuleProps.builder()
         .priority(123)
         // the properties below are optional
         .action(listenerAction)
         .conditions(List.of(listenerCondition))
         .fixedResponse(FixedResponse.builder()
                 .statusCode("statusCode")
                 // the properties below are optional
                 .contentType(ContentType.TEXT_PLAIN)
                 .messageBody("messageBody")
                 .build())
         .hostHeader("hostHeader")
         .pathPattern("pathPattern")
         .pathPatterns(List.of("pathPatterns"))
         .redirectResponse(RedirectResponse.builder()
                 .statusCode("statusCode")
                 // the properties below are optional
                 .host("host")
                 .path("path")
                 .port("port")
                 .protocol("protocol")
                 .query("query")
                 .build())
         .targetGroups(List.of(applicationTargetGroup))
         .build();