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

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 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 '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 '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 '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 '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