load_balancers_list_only
Lists load_balancers
in a region or regions, for all properties use load_balancers
Overview
Name | load_balancers_list_only |
Type | Resource |
Description | Resource Type definition for AWS::Lightsail::LoadBalancer |
Id | aws.lightsail.load_balancers_list_only |
Fields
Name | Datatype | Description |
---|---|---|
load_balancer_name | string | The name of your load balancer. |
load_balancer_arn | string | |
instance_port | integer | The instance port where you're creating your load balancer. |
ip_address_type | string | The IP address type for the load balancer. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6. The default value is dualstack. |
attached_instances | array | The names of the instances attached to the load balancer. |
health_check_path | string | The path you provided to perform the load balancer health check. If you didn't specify a health check path, Lightsail uses the root path of your website (e.g., "/"). |
session_stickiness_enabled | boolean | Configuration option to enable session stickiness. |
session_stickiness_lb_cookie_duration_seconds | string | Configuration option to adjust session stickiness cookie duration parameter. |
tls_policy_name | string | The name of the TLS policy to apply to the load balancer. |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all load_balancers
in a region.
SELECT
region,
load_balancer_name
FROM aws.lightsail.load_balancers_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the load_balancers_list_only
resource, see load_balancers