instances_list_only
Lists instances in a region or regions, for all properties use instances
Overview
| Name | instances_list_only |
| Type | Resource |
| Description | Resource Type definition for AWS::Lightsail::Instance |
| Id | aws.lightsail.instances_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
instance_name | string | The names to use for your new Lightsail instance. |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
SELECT examples
Lists all instances in a region.
SELECT
region,
instance_name
FROM aws.lightsail.instances_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the instances_list_only resource, see instances