Skip to main content

instances

Retrieves a list of instances in a region

Overview

Nameinstances
TypeResource
Descriptioninstances
Idawscc.lightsail.instances

Fields

NameDatatypeDescription
instance_namestringThe names to use for your new Lightsail instance.
regionstringAWS 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