Interface AddFixedResponseProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.159Z") @Stability(Deprecated) @Deprecated public interface AddFixedResponseProps extends software.amazon.jsii.JsiiSerializable, AddRuleProps, FixedResponse
Deprecated.
Use ApplicationListener.addAction instead.
(deprecated) Properties for adding a fixed response to 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.*;
 ListenerCondition listenerCondition;
 AddFixedResponseProps addFixedResponseProps = AddFixedResponseProps.builder()
         .statusCode("statusCode")
         // the properties below are optional
         .conditions(List.of(listenerCondition))
         .contentType(ContentType.TEXT_PLAIN)
         .hostHeader("hostHeader")
         .messageBody("messageBody")
         .pathPattern("pathPattern")
         .pathPatterns(List.of("pathPatterns"))
         .priority(123)
         .build();