@Stability(value=Experimental) @Internal public static final class BaseApplicationListenerRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BaseApplicationListenerRuleProps
BaseApplicationListenerRulePropssoftware.amazon.jsii.JsiiObject.InitializationModeBaseApplicationListenerRuleProps.Builder, BaseApplicationListenerRuleProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Number priority,
ListenerAction action,
List<? extends ListenerCondition> conditions,
FixedResponse fixedResponse,
String hostHeader,
String pathPattern,
List<String> pathPatterns,
RedirectResponse redirectResponse,
List<? extends IApplicationTargetGroup> targetGroups)
Constructor that initializes the object based on literal property values passed by the
BaseApplicationListenerRuleProps.Builder. |
| 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.
|
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(Number priority, ListenerAction action, List<? extends ListenerCondition> conditions, FixedResponse fixedResponse, String hostHeader, String pathPattern, List<String> pathPatterns, RedirectResponse redirectResponse, List<? extends IApplicationTargetGroup> targetGroups)
BaseApplicationListenerRuleProps.Builder.public 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 BaseApplicationListenerRulePropshttps://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.htmlpublic 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.
getHostHeader in interface BaseApplicationListenerRulePropshttps://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#host-conditionspublic final String getPathPattern()
BaseApplicationListenerRulePropsDefault: - No path condition.
getPathPattern in interface BaseApplicationListenerRulePropshttps://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#path-conditionspublic final List<String> getPathPatterns()
BaseApplicationListenerRulePropsPaths may contain up to three '*' wildcards.
Default: - No path conditions.
getPathPatterns in interface BaseApplicationListenerRulePropshttps://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#path-conditionspublic 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 © 2021. All rights reserved.