@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.051Z") @Stability(value=Stable) public interface AddRuleProps 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.*;
ListenerCondition listenerCondition;
AddRuleProps addRuleProps = AddRuleProps.builder()
.conditions(List.of(listenerCondition))
.priority(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AddRuleProps.Builder
A builder for
AddRuleProps |
static class |
AddRuleProps.Jsii$Proxy
An implementation for
AddRuleProps |
| Modifier and Type | Method and Description |
|---|---|
static AddRuleProps.Builder |
builder() |
default List<ListenerCondition> |
getConditions()
Rule applies if matches the conditions.
|
default Number |
getPriority()
Priority of this target group.
|
@Stability(value=Stable) @Nullable default List<ListenerCondition> getConditions()
Default: - No conditions.
@Stability(value=Stable) @Nullable default Number getPriority()
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
@Stability(value=Stable) static AddRuleProps.Builder builder()
AddRuleProps.Builder of AddRulePropsCopyright © 2022. All rights reserved.