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

Class: Aws::ElasticLoadBalancing::Types::CreateLoadBalancerPolicyInput

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 CreateLoadBalancerPolicyInput data as a hash:

{
  load_balancer_name: "AccessPointName", # required
  policy_name: "PolicyName", # required
  policy_type_name: "PolicyTypeName", # required
  policy_attributes: [
    {
      attribute_name: "AttributeName",
      attribute_value: "AttributeValue",
    },
  ],
}

Contains the parameters for CreateLoadBalancerPolicy.

Instance Attribute Summary collapse

Instance Attribute Details

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


653
654
655
656
657
658
659
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 653

class CreateLoadBalancerPolicyInput < Struct.new(
  :load_balancer_name,
  :policy_name,
  :policy_type_name,
  :policy_attributes)
  include Aws::Structure
end

#policy_attributesArray<Types::PolicyAttribute>

The policy attributes.

Returns:



653
654
655
656
657
658
659
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 653

class CreateLoadBalancerPolicyInput < Struct.new(
  :load_balancer_name,
  :policy_name,
  :policy_type_name,
  :policy_attributes)
  include Aws::Structure
end

#policy_nameString

The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.

Returns:

  • (String)


653
654
655
656
657
658
659
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 653

class CreateLoadBalancerPolicyInput < Struct.new(
  :load_balancer_name,
  :policy_name,
  :policy_type_name,
  :policy_attributes)
  include Aws::Structure
end

#policy_type_nameString

The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.

Returns:

  • (String)


653
654
655
656
657
658
659
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 653

class CreateLoadBalancerPolicyInput < Struct.new(
  :load_balancer_name,
  :policy_name,
  :policy_type_name,
  :policy_attributes)
  include Aws::Structure
end