device
Gets an individual device
resource
Overview
Name | device |
Type | Resource |
Description | device |
Id | awscc.networkmanager.device |
Fields
Name | Datatype | Description |
---|---|---|
device_arn | string | The Amazon Resource Name (ARN) of the device. |
device_id | string | The ID of the device. |
description | string | The description of the device. |
tags | array | The tags for the device. |
global_network_id | string | The ID of the global network. |
aws_location | object | The Amazon Web Services location of the device, if applicable. |
location | object | The site location. |
model | string | The device model |
serial_number | string | The device serial number. |
site_id | string | The site ID. |
type | string | The device type. |
vendor | string | The device vendor. |
created_at | string | The date and time that the device was created. |
state | string | The state of the device. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
device_arn,
device_id,
description,
tags,
global_network_id,
aws_location,
location,
model,
serial_number,
site_id,
type,
vendor,
created_at,
state
FROM awscc.networkmanager.device
WHERE data__Identifier = '<GlobalNetworkId>|<DeviceId>';
Permissions
To operate on the device
resource, the following permissions are required:
Read
networkmanager:GetDevices
Update
networkmanager:UpdateDevice,
networkmanager:ListTagsForResource,
networkmanager:GetDevices,
networkmanager:TagResource,
networkmanager:UntagResource
Delete
networkmanager:GetDevices,
networkmanager:DeleteDevice