ModifyRule#

Description#

Request to change a rule for an Elastic Load Balancer (ELB) listener . If a rule is not specified in the request, it does not change.

Request Parameters#

Required parameters#

  • RuleArn — The Amazon Resource Name (ARN) of the listener rule.

    • Type: String

    • Required: Yes

Optional parameters#

  • Actions.member.N — Actions that ELB applies to incoming requests.

    • Type: List of Action objects

    • Required: No

  • Conditions.member.N — Conditions that ELB applies to incoming requests.

Response Elements#

  • Rules.member.N — Information about the listener rule.

    • Type: List of Rule objects

Examples#

c2-elb ModifyRule RuleArn "rule_arn" Actions.1.TargetGroupArn "tg_arn" Actions.1.Type forward

c2-elb ModifyRule RuleArn Conditions.1.Field host-header Conditions.Values.1 another-example.com