Skip to main content

device_ec2_instances

Creates, updates, deletes, gets or lists a device_ec2_instances resource.

Overview​

Namedevice_ec2_instances
TypeResource
Idaws.snow_device_management.device_ec2_instances

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
instancesarrayA list of structures containing information about each instance.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_device_ec2_instancesselectmanaged_device_id, regionChecks the current state of the Amazon EC2 instances. The output is similar to describeDevice, but the results are sourced from the device cache in the Amazon Web Services Cloud and include a subset of the available fields.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
managed_device_idstringThe ID of the managed device.
regionstringAWS region (default: us-east-1)

SELECT examples​

Checks the current state of the Amazon EC2 instances. The output is similar to describeDevice, but the results are sourced from the device cache in the Amazon Web Services Cloud and include a subset of the available fields.

SELECT
instances
FROM aws.snow_device_management.device_ec2_instances
WHERE managed_device_id = '{{ managed_device_id }}' -- required
AND region = '{{ region }}' -- required
;