AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeDeploy::Types::TrafficRoute

  • Object
show all
Defined in:



When passing TrafficRoute as input to an Aws::Client method, you can use a vanilla Hash:

  listener_arns: ["ListenerArn"],

Information about a listener. The listener contains the path used to route traffic that is received from the load balancer to a target group.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details


The Amazon Resource Name (ARN) of one listener. The listener identifies the route between a target group and a load balancer. This is an array of strings with a maximum size of one.


  • (Array<String>)

    The Amazon Resource Name (ARN) of one listener.