ModifyListener#

Description#

Request to change a listener for the Elastic Load Balancer (ELB).

Request Parameters#

Required parameters#

  • ListenerArn — The Amazon Resource Name (ARN) of the ELB listener

    • Type: String

    • Required: Yes

Optional parameters#

  • DefaultActions — ELB actions on incoming requests.

    • Type: List of Action objects

    • Required: No

  • Port — The port on which the listener receives requests.

    • Type: Integer

    • Required: No

    • Valid range: From 1 to 65535

  • Protocol — Protocol for client connection to ELB.

    • Type: String

    • Required: No

    • Valid values: TCP | UDP

Examples#

c2-elb ModifyListener ListenerArn "listener_arn" Port 80 Protocol tcp DefaultActions.1.TargetGroupArn "target_group_arn" DefaultActions.1.Type forward

c2-elb ModifyListener ListenerArn "listener_arn" Port 8080

c2-elb ModifyListener ListenerArn "listener_arn" DefaultActions.1.TargetGroupArn "target_group_arn" DefaultActions.1.Type forward