Class: Aws::ElasticLoadBalancing::Types::SetLoadBalancerPoliciesForBackendServerInput

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

Overview

Note:

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

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

Contains the parameters for SetLoadBalancerPoliciesForBackendServer.

Instance Attribute Summary collapse

Instance Attribute Details

#instance_portInteger

The port number associated with the EC2 instance.

Returns:

  • (Integer)


2028
2029
2030
2031
2032
2033
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 2028

class SetLoadBalancerPoliciesForBackendServerInput < Struct.new(
  :load_balancer_name,
  :instance_port,
  :policy_names)
  include Aws::Structure
end

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


2028
2029
2030
2031
2032
2033
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 2028

class SetLoadBalancerPoliciesForBackendServerInput < Struct.new(
  :load_balancer_name,
  :instance_port,
  :policy_names)
  include Aws::Structure
end

#policy_namesArray<String>

The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.

Returns:

  • (Array<String>)


2028
2029
2030
2031
2032
2033
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 2028

class SetLoadBalancerPoliciesForBackendServerInput < Struct.new(
  :load_balancer_name,
  :instance_port,
  :policy_names)
  include Aws::Structure
end