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

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

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 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 'gems/aws-sdk-elasticloadbalancing/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 'gems/aws-sdk-elasticloadbalancing/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 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 2028

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