Interface ApplicationListenerRuleProps

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

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

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.*;
 ApplicationListener applicationListener;
 ApplicationTargetGroup applicationTargetGroup;
 ListenerAction listenerAction;
 ListenerCondition listenerCondition;
 ApplicationListenerRuleProps applicationListenerRuleProps = ApplicationListenerRuleProps.builder()
         .listener(applicationListener)
         .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();