Interface BaseApplicationListenerRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ApplicationListenerRuleProps
- All Known Implementing Classes:
ApplicationListenerRuleProps.Jsii$Proxy,BaseApplicationListenerRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:05.210Z")
@Stability(Stable)
public interface BaseApplicationListenerRuleProps
extends software.amazon.jsii.JsiiSerializable
Basic properties for defining a rule on 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.*;
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBaseApplicationListenerRulePropsstatic final classAn implementation forBaseApplicationListenerRuleProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ListenerActionAction to perform when requests are received.default List<ListenerCondition> Rule applies if matches the conditions.Priority of the rule.default List<IApplicationTargetGroup> Target groups to forward requests to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPriority
Priority of the rule.The rule with the lowest priority will be used for every request.
Priorities must be unique.
-
getAction
Action to perform when requests are received.Only one of
action,fixedResponse,redirectResponseortargetGroupscan be specified.Default: - No action
-
getConditions
Rule applies if matches the conditions.Default: - No conditions.
- See Also:
-
getTargetGroups
Target groups to forward requests to.Only one of
action,fixedResponse,redirectResponseortargetGroupscan be specified.Implies a
forwardaction.Default: - No target groups.
-
builder
-