@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:49.342Z") @Stability(value=Experimental) public interface BaseApplicationListenerRuleProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BaseApplicationListenerRuleProps.Builder
A builder for
BaseApplicationListenerRuleProps |
static class |
BaseApplicationListenerRuleProps.Jsii$Proxy
An implementation for
BaseApplicationListenerRuleProps |
| Modifier and Type | Method and Description |
|---|---|
static BaseApplicationListenerRuleProps.Builder |
builder() |
default ListenerAction |
getAction()
(experimental) Action to perform when requests are received.
|
default List<ListenerCondition> |
getConditions()
(experimental) Rule applies if matches the conditions.
|
default FixedResponse |
getFixedResponse()
Deprecated.
Use `action` instead.
|
default String |
getHostHeader()
Deprecated.
Use `conditions` instead.
|
default String |
getPathPattern()
Deprecated.
Use `conditions` instead.
|
default List<String> |
getPathPatterns()
Deprecated.
Use `conditions` instead.
|
Number |
getPriority()
(experimental) Priority of the rule.
|
default RedirectResponse |
getRedirectResponse()
Deprecated.
Use `action` instead.
|
default List<IApplicationTargetGroup> |
getTargetGroups()
(experimental) Target groups to forward requests to.
|
@Stability(value=Experimental) @NotNull Number getPriority()
The rule with the lowest priority will be used for every request.
Priorities must be unique.
@Stability(value=Experimental) @Nullable default ListenerAction getAction()
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.
Default: - No action
@Stability(value=Experimental) @Nullable default List<ListenerCondition> getConditions()
Default: - No conditions.
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html@Stability(value=Deprecated) @Deprecated @Nullable default FixedResponse getFixedResponse()
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.
Default: - No fixed response.
@Stability(value=Deprecated) @Deprecated @Nullable default String getHostHeader()
May contain up to three '*' wildcards.
Default: - No host condition.
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#host-conditions@Stability(value=Deprecated) @Deprecated @Nullable default String getPathPattern()
Default: - No path condition.
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#path-conditions@Stability(value=Deprecated) @Deprecated @Nullable default List<String> getPathPatterns()
Paths may contain up to three '*' wildcards.
Default: - No path conditions.
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#path-conditions@Stability(value=Deprecated) @Deprecated @Nullable default RedirectResponse getRedirectResponse()
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.
Default: - No redirect response.
@Stability(value=Experimental) @Nullable default List<IApplicationTargetGroup> getTargetGroups()
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.
Implies a forward action.
Default: - No target groups.
@Stability(value=Experimental) static BaseApplicationListenerRuleProps.Builder builder()
Copyright © 2021. All rights reserved.