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.106.0 (build e852934)",
date="2025-02-06T22:15:54.392Z")
@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 class
A builder forBaseApplicationListenerRuleProps
static final class
An implementation forBaseApplicationListenerRuleProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default ListenerAction
Action 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
,redirectResponse
ortargetGroups
can 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
,redirectResponse
ortargetGroups
can be specified.Implies a
forward
action.Default: - No target groups.
-
builder
-