Class AWS::ELB::ListenerCollection
In: lib/aws/elb/listener_collection.rb
Parent: Object

Methods

[]   _each_item   create   new  

Included Modules

ListenerOpts Core::Collection::Simple

Attributes

load_balancer  [R]  @return [LoadBalancer]

Public Class methods

Public Instance methods

@param [Hash] options

@option options [Integer] :port Specifies the external

  load balancer port number. This property cannot be modified for
  the life of the LoadBalancer.

@option options [String,Symbol] :protocol Specifies the load balancer

  transport protocol to use for routing.  Valid values include:

@option options [Integer] :instance_port Specifies the TCP port on

  which the instance server is listening. This property cannot be
  modified for the life of the load balancer.

@option options [String,Symbol] :instance_protocol Specifies the

  protocol to use for routing traffic to back-end instances.  Valid
  values include:

  * :http, 'HTTP'
  * :https, 'HTTPS'
  * :tcp, 'TCP'
  * :ssl, 'SSL'

  This property cannot be modified for the life of the load balacner.

  NOTE: If the front-end protocol is HTTP or HTTPS, `:instance_protocol`
  has to be at the same protocol layer, i.e., HTTP or HTTPS. Likewise,
  if the front-end protocol is TCP or SSL, `:instance_protocol` has
  to be TCP or SSL.

  NOTE: If there is another listener with the same `:instance_port`
  whose `:instance_protocol` is secure, i.e., HTTPS or SSL, the
  listener's `:instance_protocol` has to be secure, i.e., HTTPS
  or SSL. If there is another listener with the same `:instance_port`
  whose `:instance_protocol` is HTTP or TCP, the listener's
  `:instance_protocol` must be either HTTP or TCP.

  * :tcp, 'TCP'
  * :http, 'HTTP'

  This property cannot be modified for the life of the load balancer.

@option options [String,IAM::ServerCertificate] :server_certificate The

  ARN string of an IAM::ServerCertifcate or an IAM::ServerCertificate
  object.  Reqruied for HTTPs listeners.

@return [Listener]

Protected Instance methods

[Validate]