Interface AddRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AddApplicationActionProps
,AddApplicationTargetGroupsProps
,AddApplicationTargetsProps
- All Known Implementing Classes:
AddApplicationActionProps.Jsii$Proxy
,AddApplicationTargetGroupsProps.Jsii$Proxy
,AddApplicationTargetsProps.Jsii$Proxy
,AddRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.615Z")
@Stability(Stable)
public interface AddRuleProps
extends software.amazon.jsii.JsiiSerializable
Properties for adding a conditional load balancing rule.
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.*; ListenerCondition listenerCondition; AddRuleProps addRuleProps = AddRuleProps.builder() .conditions(List.of(listenerCondition)) .priority(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAddRuleProps
static final class
An implementation forAddRuleProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic AddRuleProps.Builder
builder()
default List<ListenerCondition>
Rule applies if matches the conditions.default Number
Priority of this target group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConditions
Rule applies if matches the conditions.Default: - No conditions.
- See Also:
-
getPriority
Priority of this target group.The rule with the lowest priority will be used for every request. If priority is not given, these target groups will be added as defaults, and must not have conditions.
Priorities must be unique.
Default: Target groups are used as defaults
-
builder
- Returns:
- a
AddRuleProps.Builder
ofAddRuleProps
-