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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SetLoadBalancerPoliciesForBackendServerInput as input to an Aws::Client method, you can use a vanilla 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)

    The port number associated with the EC2 instance.

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)

    The name of the load balancer.

#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>)

    The names of the policies.