@Stability(value=Experimental) @Internal public static final class ApplicationListenerRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApplicationListenerRuleProps
ApplicationListenerRulePropssoftware.amazon.jsii.JsiiObject.InitializationModeApplicationListenerRuleProps.Builder, ApplicationListenerRuleProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ApplicationListenerRuleProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ApplicationListenerRuleProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
ListenerAction |
getAction()
(experimental) Action to perform when requests are received.
|
List<ListenerCondition> |
getConditions()
(experimental) Rule applies if matches the conditions.
|
FixedResponse |
getFixedResponse()
(deprecated) Fixed response to return.
|
String |
getHostHeader()
(deprecated) Rule applies if the requested host matches the indicated host.
|
IApplicationListener |
getListener()
(experimental) The listener to attach the rule to.
|
String |
getPathPattern()
(deprecated) Rule applies if the requested path matches the given path pattern.
|
List<String> |
getPathPatterns()
(deprecated) Rule applies if the requested path matches any of the given patterns.
|
Number |
getPriority()
(experimental) Priority of the rule.
|
RedirectResponse |
getRedirectResponse()
(deprecated) Redirect response to return.
|
List<IApplicationTargetGroup> |
getTargetGroups()
(experimental) Target groups to forward requests to.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ApplicationListenerRuleProps.Builder builder)
ApplicationListenerRuleProps.Builder.public final IApplicationListener getListener()
ApplicationListenerRulePropsgetListener in interface ApplicationListenerRulePropspublic final Number getPriority()
BaseApplicationListenerRulePropsThe rule with the lowest priority will be used for every request.
Priorities must be unique.
getPriority in interface BaseApplicationListenerRulePropspublic final ListenerAction getAction()
BaseApplicationListenerRuleProps
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.
Default: - No action
getAction in interface BaseApplicationListenerRulePropspublic final List<ListenerCondition> getConditions()
BaseApplicationListenerRulePropsDefault: - No conditions.
getConditions in interface BaseApplicationListenerRulePropspublic final FixedResponse getFixedResponse()
BaseApplicationListenerRuleProps
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.
Default: - No fixed response.
getFixedResponse in interface BaseApplicationListenerRulePropspublic final String getHostHeader()
BaseApplicationListenerRulePropsMay contain up to three '*' wildcards.
Default: - No host condition.
public final String getPathPattern()
BaseApplicationListenerRulePropsDefault: - No path condition.
public final List<String> getPathPatterns()
BaseApplicationListenerRulePropsPaths may contain up to three '*' wildcards.
Default: - No path conditions.
public final RedirectResponse getRedirectResponse()
BaseApplicationListenerRuleProps
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.
Default: - No redirect response.
getRedirectResponse in interface BaseApplicationListenerRulePropspublic final List<IApplicationTargetGroup> getTargetGroups()
BaseApplicationListenerRuleProps
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.
Implies a forward action.
Default: - No target groups.
getTargetGroups in interface BaseApplicationListenerRuleProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.