Interface IAddRuleProps
Properties for adding a conditional load balancing rule.
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAddRuleProps
Syntax (vb)
Public Interface IAddRuleProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancingV2;
ListenerCondition listenerCondition;
var addRuleProps = new AddRuleProps {
Conditions = new [] { listenerCondition },
Priority = 123
};
Synopsis
Properties
Conditions | Rule applies if matches the conditions. |
Priority | Priority of this target group. |
Properties
Conditions
Rule applies if matches the conditions.
virtual ListenerCondition[] Conditions { get; }
Property Value
Remarks
Default: - No conditions.
See: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html
Priority
Priority of this target group.
virtual Nullable<double> Priority { get; }
Property Value
System.Nullable<System.Double>
Remarks
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