@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.064Z") @Stability(value=Stable) public interface BaseApplicationListenerRuleProps extends software.amazon.jsii.JsiiSerializable
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.*;
ApplicationTargetGroup applicationTargetGroup;
ListenerAction listenerAction;
ListenerCondition listenerCondition;
BaseApplicationListenerRuleProps baseApplicationListenerRuleProps = BaseApplicationListenerRuleProps.builder()
.priority(123)
// the properties below are optional
.action(listenerAction)
.conditions(List.of(listenerCondition))
.targetGroups(List.of(applicationTargetGroup))
.build();
| 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()
Action to perform when requests are received.
|
default List<ListenerCondition> |
getConditions()
Rule applies if matches the conditions.
|
Number |
getPriority()
Priority of the rule.
|
default List<IApplicationTargetGroup> |
getTargetGroups()
Target groups to forward requests to.
|
@Stability(value=Stable) @NotNull Number getPriority()
The rule with the lowest priority will be used for every request.
Priorities must be unique.
@Stability(value=Stable) @Nullable default ListenerAction getAction()
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.
Default: - No action
@Stability(value=Stable) @Nullable default List<ListenerCondition> getConditions()
Default: - No conditions.
@Stability(value=Stable) @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=Stable) static BaseApplicationListenerRuleProps.Builder builder()
Copyright © 2022. All rights reserved.