Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Latest commit

 

History

History
45 lines (33 loc) · 2.66 KB

aws_rule.md

File metadata and controls

45 lines (33 loc) · 2.66 KB

Document: "elasticloadbalancingv2"

Path: "https://github.com/aws/aws-sdk-go-v2/tree/master/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json")

Rule

aws_rule {
  actions => "Actions (optional)",
  conditions => "Conditions (optional)",
  listener_arn => $aws_listener_arn
  page_size => $aws_page_size
  priority => $aws_rule_priority
  rule_arn => $aws_rule_arn
  rule_arns => "RuleArns (optional)",
}
Name Type Required
actions Actions false
conditions RuleConditionList false
listener_arn ListenerArn false
page_size PageSize false
priority RulePriority false
rule_arn RuleArn false
rule_arns RuleArns false

CRUD operations

Here is a list of endpoints that we use to create, read, update and delete the Rule

Operation Path Verb Description OperationID
Create / POST

Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer.

Rules are evaluated in priority order, from the lowest value to the highest value. When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, the actions for the default rule are performed. For more information, see Listener Rules in the Application Load Balancers Guide.

To view your current rules, use DescribeRules. To update a rule, use ModifyRule. To set the priorities of your rules, use SetRulePriorities. To delete a rule, use DeleteRule.

CreateRule
List - list all / POST

Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.

DescribeRules
List - get one ``
List - get list using params / POST

Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.

DescribeRules
Update / POST

Modifies the specified rule.

Any existing properties that you do not modify retain their current values.

To modify the actions for the default rule, use ModifyListener.

ModifyRule
Delete / POST

Deletes the specified rule.

DeleteRule