Data Source: awsNetworkmanagerDevice
Retrieve information about a device.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsNetworkmanagerDevice.DataAwsNetworkmanagerDevice(
this,
"example",
{
deviceId: "${var.device_id}",
global_network_id_id: "${var.global_network_id}",
}
);
Argument Reference
deviceId
- (Required) ID of the device.globalNetworkId
- (Required) ID of the global network.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- ARN of the device.awsLocation
- AWS location of the device. Documented below.description
- Description of the device.location
- Location of the device. Documented below.model
- Model of device.serialNumber
- Serial number of the device.siteId
- ID of the site.tags
- Key-value tags for the device.type
- Type of device.vendor
- Vendor of the device.
The awsLocation
object supports the following:
subnetArn
- ARN of the subnet that the device is located in.zone
- Zone that the device is located in.
The location
object supports the following:
address
- Physical address.latitude
- Latitude.longitude
- Longitude.