Last chance! 50% off unlimited learning
Sale ends in
Sets the priorities of the specified rules.
elbv2_set_rule_priorities(RulePriorities)
[required] The rule priorities.
svc$set_rule_priorities( RulePriorities = list( list( RuleArn = "string", Priority = 123 ) ) )
You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.
# NOT RUN {
# This example sets the priority of the specified rule.
svc$set_rule_priorities(
RulePriorities = list(
list(
Priority = 5L,
RuleArn = "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-lo..."
)
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab