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

Class: Aws::ElasticLoadBalancing::Types::SetLoadBalancerPoliciesOfListenerInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb

Overview

Note:

When making an API call, you may pass SetLoadBalancerPoliciesOfListenerInput data as a hash:

{
  load_balancer_name: "AccessPointName", # required
  load_balancer_port: 1, # required
  policy_names: ["PolicyName"], # required
}

Contains the parameters for SetLoadBalancePoliciesOfListener.

Instance Attribute Summary collapse

Instance Attribute Details

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


2068
2069
2070
2071
2072
2073
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 2068

class SetLoadBalancerPoliciesOfListenerInput < Struct.new(
  :load_balancer_name,
  :load_balancer_port,
  :policy_names)
  include Aws::Structure
end

#load_balancer_portInteger

The external port of the load balancer.

Returns:

  • (Integer)


2068
2069
2070
2071
2072
2073
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 2068

class SetLoadBalancerPoliciesOfListenerInput < Struct.new(
  :load_balancer_name,
  :load_balancer_port,
  :policy_names)
  include Aws::Structure
end

#policy_namesArray<String>

The names of the policies. This list must include all policies to be enabled. If you omit a policy that is currently enabled, it is disabled. If the list is empty, all current policies are disabled.

Returns:

  • (Array<String>)


2068
2069
2070
2071
2072
2073
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 2068

class SetLoadBalancerPoliciesOfListenerInput < Struct.new(
  :load_balancer_name,
  :load_balancer_port,
  :policy_names)
  include Aws::Structure
end