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

Class: AWS::ELB::Client::V20120601

Inherits:
AWS::ELB::Client show all
Defined in:
lib/aws/elb/client.rb

Constant Summary

Constant Summary

Constants inherited from AWS::ELB::Client

API_VERSION

Instance Attribute Summary

Attributes inherited from Core::Client

#config

Instance Method Summary collapse

Methods inherited from Core::Client

#initialize, #log_warning, #operations, #with_http_handler, #with_options

Constructor Details

This class inherits a constructor from AWS::Core::Client

Instance Method Details

#add_tags(options = {}) ⇒ Core::Response

Calls the AddTags API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_names - required - (Array<) The name of the load balancer to tag. You can specify a maximum of one load balancer name.
    • :tags - required - (Array<) A list of tags for each load balancer.
      • :key - required - (String) The key of the tag.
      • :value - (String) The value of the tag.

Returns:

#apply_security_groups_to_load_balancer(options = {}) ⇒ Core::Response

Calls the ApplySecurityGroupsToLoadBalancer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the load balancer. The name must be unique within the set of load balancers associated with your AWS account.
    • :security_groups - required - (Array<) A list of security group IDs to associate with your load balancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :security_groups - (Array)

#attach_load_balancer_to_subnets(options = {}) ⇒ Core::Response

Calls the AttachLoadBalancerToSubnets API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the load balancer. The name must be unique within the set of load balancers associated with your AWS account.
    • :subnets - required - (Array<) A list of subnet IDs to add for the load balancer. You can add only one subnet per Availability Zone.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :subnets - (Array)

#configure_health_check(options = {}) ⇒ Core::Response

Calls the ConfigureHealthCheck API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The mnemonic name associated with the load balancer. The name must be unique within the set of load balancers associated with your AWS account.
    • :health_check - required - (Hash) A structure containing the configuration information for the new healthcheck.
      • :target - required - (String) Specifies the instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535. TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case a healthcheck simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy. SSL is also specified as SSL: port pair, for example, SSL:5000. For HTTP or HTTPS protocol, the situation is different. You have to include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy. The total length of the HTTP ping target needs to be 1024 16-bit Unicode characters or less.
      • :interval - required - (Integer) Specifies the approximate interval, in seconds, between health checks of an individual instance.
      • :timeout - required - (Integer) Specifies the amount of time, in seconds, during which no response means a failed health probe. This value must be less than the Interval value.
      • :unhealthy_threshold - required - (Integer) Specifies the number of consecutive health probe failures required before moving the instance to the Unhealthy state.
      • :healthy_threshold - required - (Integer) Specifies the number of consecutive health probe successes required before moving the instance to the Healthy state.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :health_check - (Hash)
      • :target - (String)
      • :interval - (Integer)
      • :timeout - (Integer)
      • :unhealthy_threshold - (Integer)
      • :healthy_threshold - (Integer)

Calls the CreateAppCookieStickinessPolicy API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name of the load balancer.
    • :policy_name - required - (String) The name of the policy being created. The name must be unique within the set of policies for this load balancer.
    • :cookie_name - required - (String) Name of the application cookie used for stickiness.

Returns:

Calls the CreateLBCookieStickinessPolicy API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the load balancer.
    • :policy_name - required - (String) The name of the policy being created. The name must be unique within the set of policies for this load balancer.
    • :cookie_expiration_period - (Integer) The time period in seconds after which the cookie should be considered stale. Not specifying this parameter indicates that the sticky session will last for the duration of the browser session.

Returns:

#create_load_balancer(options = {}) ⇒ Core::Response

Calls the CreateLoadBalancer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the load balancer. The name must be unique within your set of load balancers, must have a maximum of 32 characters, and must only contain alphanumeric characters or hyphens.
    • :listeners - required - (Array<) A list of the following tuples: Protocol, LoadBalancerPort, InstanceProtocol, InstancePort, and SSLCertificateId. For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing.
      • :protocol - required - (String) Specifies the load balancer transport protocol to use for routing - HTTP, HTTPS, TCP or SSL. This property cannot be modified for the life of the load balancer.
      • :load_balancer_port - required - (Integer) Specifies the port on which the load balancer is listening - 25, 80, 443, 465, 587, or 1024-65535. This property cannot be modified for the life of the load balancer.
      • :instance_protocol - (String) Specifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or SSL. This property cannot be modified for the life of the load balancer. If the front-end protocol is HTTP or HTTPS, InstanceProtocol has to be at the same protocol layer, i.e., HTTP or HTTPS. Likewise, if the front-end protocol is TCP or SSL, InstanceProtocol has to be TCP or SSL. If there is another listener with the same InstancePort whose InstanceProtocol is secure, i.e., HTTPS or SSL, the listener's InstanceProtocol has to be secure, i.e., HTTPS or SSL. If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol must be either HTTP or TCP.
      • :instance_port - required - (Integer) Specifies the port on which the instance server is listening - 25, 80, 443, 465, 587, or 1024-65535. This property cannot be modified for the life of the load balancer.
      • :ssl_certificate_id - (String) The ARN string of the server certificate. To get the ARN of the server certificate, call the AWS Identity and Access Management UploadServerCertificate API.
    • :availability_zones - (Array<) A list of Availability Zones. At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the load balancer. Traffic will be equally distributed across all zones. You can later add more Availability Zones after the creation of the load balancer by calling EnableAvailabilityZonesForLoadBalancer action.
    • :subnets - (Array<) A list of subnet IDs in your VPC to attach to your load balancer. Specify one subnet per Availability Zone.
    • :security_groups - (Array<) The security groups to assign to your load balancer within your VPC.
    • :scheme - (String) The type of a load balancer. By default, Elastic Load Balancing creates an Internet-facing load balancer with a publicly resolvable DNS name, which resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Internet-facing and Internal Load Balancers. Specify the value internal for this option to create an internal load balancer with a DNS name that resolves to private IP addresses. This option is only available for load balancers created within EC2-VPC.
    • :tags - (Array<) A list of tags to assign to the load balancer. For more information about setting tags for your load balancer, see Tagging.
      • :key - required - (String) The key of the tag.
      • :value - (String) The value of the tag.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :dns_name - (String)

#create_load_balancer_listeners(options = {}) ⇒ Core::Response

Calls the CreateLoadBalancerListeners API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name of the load balancer.
    • :listeners - required - (Array<) A list of LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and SSLCertificateId items.
      • :protocol - required - (String) Specifies the load balancer transport protocol to use for routing - HTTP, HTTPS, TCP or SSL. This property cannot be modified for the life of the load balancer.
      • :load_balancer_port - required - (Integer) Specifies the port on which the load balancer is listening - 25, 80, 443, 465, 587, or 1024-65535. This property cannot be modified for the life of the load balancer.
      • :instance_protocol - (String) Specifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or SSL. This property cannot be modified for the life of the load balancer. If the front-end protocol is HTTP or HTTPS, InstanceProtocol has to be at the same protocol layer, i.e., HTTP or HTTPS. Likewise, if the front-end protocol is TCP or SSL, InstanceProtocol has to be TCP or SSL. If there is another listener with the same InstancePort whose InstanceProtocol is secure, i.e., HTTPS or SSL, the listener's InstanceProtocol has to be secure, i.e., HTTPS or SSL. If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol must be either HTTP or TCP.
      • :instance_port - required - (Integer) Specifies the port on which the instance server is listening - 25, 80, 443, 465, 587, or 1024-65535. This property cannot be modified for the life of the load balancer.
      • :ssl_certificate_id - (String) The ARN string of the server certificate. To get the ARN of the server certificate, call the AWS Identity and Access Management UploadServerCertificate API.

Returns:

#create_load_balancer_policy(options = {}) ⇒ Core::Response

Calls the CreateLoadBalancerPolicy API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the LoadBalancer for which the policy is being created.
    • :policy_name - required - (String) The name of the load balancer policy being created. The name must be unique within the set of policies for this load balancer.
    • :policy_type_name - required - (String) The name of the base policy type being used to create this policy. To get the list of policy types, use the DescribeLoadBalancerPolicyTypes action.
    • :policy_attributes - (Array<) A list of attributes associated with the policy being created.
      • :attribute_name - (String) The name of the attribute associated with the policy.
      • :attribute_value - (String) The value of the attribute associated with the policy.

Returns:

#delete_load_balancer(options = {}) ⇒ Core::Response

Calls the DeleteLoadBalancer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the load balancer.

Returns:

#delete_load_balancer_listeners(options = {}) ⇒ Core::Response

Calls the DeleteLoadBalancerListeners API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The mnemonic name associated with the load balancer.
    • :load_balancer_ports - required - (Array<) The client port number(s) of the load balancer listener(s) to be removed.

Returns:

#delete_load_balancer_policy(options = {}) ⇒ Core::Response

Calls the DeleteLoadBalancerPolicy API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The mnemonic name associated with the load balancer.
    • :policy_name - required - (String) The mnemonic name for the policy being deleted.

Returns:

#deregister_instances_from_load_balancer(options = {}) ⇒ Core::Response

Calls the DeregisterInstancesFromLoadBalancer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the load balancer.
    • :instances - required - (Array<) A list of EC2 instance IDs consisting of all instances to be deregistered.
      • :instance_id - (String) Provides an EC2 instance ID.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :instances - (Array)
      • :instance_id - (String)

#describe_instance_health(options = {}) ⇒ Core::Response

Calls the DescribeInstanceHealth API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name of the load balancer.
    • :instances - (Array<) A list of instance IDs whose states are being queried.
      • :instance_id - (String) Provides an EC2 instance ID.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :instance_states - (Array)
      • :instance_id - (String)
      • :state - (String)
      • :reason_code - (String)
      • :description - (String)

#describe_load_balancer_attributes(options = {}) ⇒ Core::Response

Calls the DescribeLoadBalancerAttributes API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name of the load balancer.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :load_balancer_attributes - (Hash)
      • :cross_zone_load_balancing - (Hash)
        • :enabled - (Boolean)
      • :access_log - (Hash)
        • :enabled - (Boolean)
        • :s3_bucket_name - (String)
        • :emit_interval - (Integer)
        • :s3_bucket_prefix - (String)
      • :connection_draining - (Hash)
        • :enabled - (Boolean)
        • :timeout - (Integer)
      • :connection_settings - (Hash)
        • :idle_timeout - (Integer)
      • :additional_attributes - (Array)
        • :key - (String)
        • :value - (String)

#describe_load_balancer_policies(options = {}) ⇒ Core::Response

Calls the DescribeLoadBalancerPolicies API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - (String) The mnemonic name associated with the load balancer. If no name is specified, the operation returns the attributes of either all the sample policies pre-defined by Elastic Load Balancing or the specified sample polices.
    • :policy_names - (Array<) The names of load balancer policies you've created or Elastic Load Balancing sample policy names.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :policy_descriptions - (Array)
      • :policy_name - (String)
      • :policy_type_name - (String)
      • :policy_attribute_descriptions - (Array)
        • :attribute_name - (String)
        • :attribute_value - (String)

#describe_load_balancer_policy_types(options = {}) ⇒ Core::Response

Calls the DescribeLoadBalancerPolicyTypes API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :policy_type_names - (Array<) Specifies the name of the policy types. If no names are specified, returns the description of all the policy types defined by Elastic Load Balancing service.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :policy_type_descriptions - (Array)
      • :policy_type_name - (String)
      • :description - (String)
      • :policy_attribute_type_descriptions - (Array)
        • :attribute_name - (String)
        • :attribute_type - (String)
        • :description - (String)
        • :default_value - (String)
        • :cardinality - (String)

#describe_load_balancers(options = {}) ⇒ Core::Response

Calls the DescribeLoadBalancers API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_names - (Array<) A list of load balancer names associated with the account.
    • :marker - (String) An optional parameter used for pagination of results from this call. If specified, the response includes only records beyond the marker.
    • :page_size - (Integer) The number of results returned in each page. The default is 400. You cannot specify a page size greater than 400 or less than 1.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :load_balancer_descriptions - (Array)
      • :load_balancer_name - (String)
      • :dns_name - (String)
      • :canonical_hosted_zone_name - (String)
      • :canonical_hosted_zone_name_id - (String)
      • :listener_descriptions - (Array)
        • :listener - (Hash)
          • :protocol - (String)
          • :load_balancer_port - (Integer)
          • :instance_protocol - (String)
          • :instance_port - (Integer)
          • :ssl_certificate_id - (String)
        • :policy_names - (Array)
      • :policies - (Hash)
        • :app_cookie_stickiness_policies - (Array)
          • :policy_name - (String)
          • :cookie_name - (String)
        • :lb_cookie_stickiness_policies - (Array)
          • :policy_name - (String)
          • :cookie_expiration_period - (Integer)
        • :other_policies - (Array)
      • :backend_server_descriptions - (Array)
        • :instance_port - (Integer)
        • :policy_names - (Array)
      • :availability_zones - (Array)
      • :subnets - (Array)
      • :vpc_id - (String)
      • :instances - (Array)
        • :instance_id - (String)
      • :health_check - (Hash)
        • :target - (String)
        • :interval - (Integer)
        • :timeout - (Integer)
        • :unhealthy_threshold - (Integer)
        • :healthy_threshold - (Integer)
      • :source_security_group - (Hash)
        • :owner_alias - (String)
        • :group_name - (String)
      • :security_groups - (Array)
      • :created_time - (Time)
      • :scheme - (String)
    • :next_marker - (String)

#describe_tags(options = {}) ⇒ Core::Response

Calls the DescribeTags API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_names - required - (Array<) The names of the load balancers.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :tag_descriptions - (Array)
      • :load_balancer_name - (String)
      • :tags - (Array)
        • :key - (String)
        • :value - (String)

#detach_load_balancer_from_subnets(options = {}) ⇒ Core::Response

Calls the DetachLoadBalancerFromSubnets API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the load balancer to be detached.
    • :subnets - required - (Array<) A list of subnet IDs to remove from the set of configured subnets for the load balancer.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :subnets - (Array)

#disable_availability_zones_for_load_balancer(options = {}) ⇒ Core::Response

Calls the DisableAvailabilityZonesForLoadBalancer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the load balancer.
    • :availability_zones - required - (Array<) A list of Availability Zones to be removed from the load balancer. There must be at least one Availability Zone registered with a load balancer at all times. Specified Availability Zones must be in the same region.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :availability_zones - (Array)

#enable_availability_zones_for_load_balancer(options = {}) ⇒ Core::Response

Calls the EnableAvailabilityZonesForLoadBalancer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the load balancer.
    • :availability_zones - required - (Array<) A list of new Availability Zones for the load balancer. Each Availability Zone must be in the same region as the load balancer.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :availability_zones - (Array)

#modify_load_balancer_attributes(options = {}) ⇒ Core::Response

Calls the ModifyLoadBalancerAttributes API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name of the load balancer.
    • :load_balancer_attributes - required - (Hash) Attributes of the load balancer.
      • :cross_zone_load_balancing - (Hash) The name of the load balancer attribute. If enabled, the load balancer routes the request traffic evenly across all back-end instances regardless of the Availability Zones. For more information, see Enable Cross-Zone Load Balancing.
        • :enabled - required - (Boolean) Specifies whether cross-zone load balancing is enabled for the load balancer.
      • :access_log - (Hash) The name of the load balancer attribute. If enabled, the load balancer captures detailed information of all the requests and delivers the information to the Amazon S3 bucket that you specify. For more information, see Enable Access Logs.
        • :enabled - required - (Boolean) Specifies whether access log is enabled for the load balancer.
        • :s3_bucket_name - (String) The name of the Amazon S3 bucket where the access logs are stored.
        • :emit_interval - (Integer) The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes. Default: 60 minutes
        • :s3_bucket_prefix - (String) The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod. If the prefix is not provided, the log is placed at the root level of the bucket.
      • :connection_draining - (Hash) The name of the load balancer attribute. If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance. For more information, see Enable Connection Draining.
        • :enabled - required - (Boolean) Specifies whether connection draining is enabled for the load balancer.
        • :timeout - (Integer) Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances.
      • :connection_settings - (Hash) The name of the load balancer attribute. By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. If the ConnectionSettings attribute is set, Elastic Load Balancing will allow the connections to remain idle (no data is sent over the connection) for the specified duration. For more information, see Configure Idle Connection Timeout.
        • :idle_timeout - required - (Integer) Specifies the time (in seconds) the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
      • :additional_attributes - (Array<) This parameter is reserved for future use.
        • :key - (String) Reserved for future use.
        • :value - (String) Reserved for future use.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :load_balancer_name - (String)
    • :load_balancer_attributes - (Hash)
      • :cross_zone_load_balancing - (Hash)
        • :enabled - (Boolean)
      • :access_log - (Hash)
        • :enabled - (Boolean)
        • :s3_bucket_name - (String)
        • :emit_interval - (Integer)
        • :s3_bucket_prefix - (String)
      • :connection_draining - (Hash)
        • :enabled - (Boolean)
        • :timeout - (Integer)
      • :connection_settings - (Hash)
        • :idle_timeout - (Integer)
      • :additional_attributes - (Array)
        • :key - (String)
        • :value - (String)

#register_instances_with_load_balancer(options = {}) ⇒ Core::Response

Calls the RegisterInstancesWithLoadBalancer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name associated with the load balancer. The name must be unique within your set of load balancers.
    • :instances - required - (Array<) A list of instance IDs that should be registered with the load balancer.
      • :instance_id - (String) Provides an EC2 instance ID.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :instances - (Array)
      • :instance_id - (String)

#remove_tags(options = {}) ⇒ Core::Response

Calls the RemoveTags API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_names - required - (Array<) The name of the load balancer. You can specify a maximum of one load balancer name.
    • :tags - required - (Array<) A list of tag keys to remove.
      • :key - (String) The name of the key.

Returns:

#set_load_balancer_listener_ssl_certificate(options = {}) ⇒ Core::Response

Calls the SetLoadBalancerListenerSSLCertificate API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name of the load balancer.
    • :load_balancer_port - required - (Integer) The port that uses the specified SSL certificate.
    • :ssl_certificate_id - required - (String) The Amazon Resource Number (ARN) of the SSL certificate chain to use. For more information on SSL certificates, see Managing Server Certificates in the AWS Identity and Access Management User Guide.

Returns:

#set_load_balancer_policies_for_backend_server(options = {}) ⇒ Core::Response

Calls the SetLoadBalancerPoliciesForBackendServer API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The mnemonic name associated with the load balancer. This name must be unique within the set of your load balancers.
    • :instance_port - required - (Integer) The port number associated with the back-end server.
    • :policy_names - required - (Array<) List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.

Returns:

#set_load_balancer_policies_of_listener(options = {}) ⇒ Core::Response

Calls the SetLoadBalancerPoliciesOfListener API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :load_balancer_name - required - (String) The name of the load balancer.
    • :load_balancer_port - required - (Integer) The external port of the load balancer to associate the policy.
    • :policy_names - required - (Array<) List of policies to be associated with the listener. If the list is empty, the current policy is removed from the listener.

Returns: