instances
Retrieves a list of instances
in a region
Overview
Name | instances |
Type | Resource |
Description | instances |
Id | awscc.lightsail.instances |
Fields
Name | Datatype | Description |
---|---|---|
instance_name | string | The names to use for your new Lightsail instance. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
instance_name
FROM awscc.lightsail.instances
WHERE region = 'us-east-1'
Permissions
To operate on the instances
resource, the following permissions are required:
Create
lightsail:CreateInstances,
lightsail:GetInstances,
lightsail:EnableAddOn,
lightsail:GetInstance,
lightsail:DisableAddOn,
lightsail:PutInstancePublicPorts,
lightsail:AttachDisk,
lightsail:DetachDisk,
lightsail:StartInstance,
lightsail:StopInstance,
lightsail:GetDisk,
lightsail:GetRegions,
lightsail:TagResource,
lightsail:UntagResource
List
lightsail:GetInstances