Skip to main content

load_balancer_policy_types

Creates, updates, deletes, gets or lists a load_balancer_policy_types resource.

Overview

Nameload_balancer_policy_types
TypeResource
Idaws.elb.load_balancer_policy_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
descriptionstringA description of the policy type.
policy_attribute_type_descriptionsstringThe description of the policy attributes associated with the policies defined by Elastic Load Balancing.
policy_type_namestringThe name of the policy type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_load_balancer_policy_typesselectregionPolicyTypeNamesDescribes the specified load balancer policy types or all load balancer policy types. The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances. You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
PolicyTypeNamesarrayThe names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.

SELECT examples

Describes the specified load balancer policy types or all load balancer policy types. The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances. You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.

SELECT
description,
policy_attribute_type_descriptions,
policy_type_name
FROM aws.elb.load_balancer_policy_types
WHERE region = '{{ region }}' -- required
AND PolicyTypeNames = '{{ PolicyTypeNames }}'
;