load_balancer_policy_types
Creates, updates, deletes, gets or lists a load_balancer_policy_types resource.
Overview
| Name | load_balancer_policy_types |
| Type | Resource |
| Id | aws.elb.load_balancer_policy_types |
Fields
The following fields are returned by SELECT queries:
- describe_load_balancer_policy_types
| Name | Datatype | Description |
|---|---|---|
description | string | A description of the policy type. |
policy_attribute_type_descriptions | string | The description of the policy attributes associated with the policies defined by Elastic Load Balancing. |
policy_type_name | string | The name of the policy type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_load_balancer_policy_types | select | region | PolicyTypeNames | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
PolicyTypeNames | array | The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing. |
SELECT examples
- describe_load_balancer_policy_types
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 }}'
;