Skip to main content

hosts_list_only

Lists hosts in a region or regions, for all properties use hosts

Overview

Namehosts_list_only
TypeResource
DescriptionResource Type definition for AWS::EC2::Host
Idaws.ec2.hosts_list_only

Fields

NameDatatypeDescription
host_idstringID of the host created.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all hosts in a region.

SELECT
region,
host_id
FROM aws.ec2.hosts_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the hosts_list_only resource, see hosts