hosts
Retrieves a list of hosts
in a region
Overview
Name | hosts |
Type | Resource |
Description | hosts |
Id | awscc.ec2.hosts |
Fields
Name | Datatype | Description |
---|---|---|
host_id | string | ID of the host created. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
host_id
FROM awscc.ec2.hosts
WHERE region = 'us-east-1'
Permissions
To operate on the hosts
resource, the following permissions are required:
Create
ec2:AllocateHosts,
ec2:DescribeHosts
List
ec2:DescribeHosts