Skip to content

Resource: awsSagemakerDevice

Provides a SageMaker Device resource.

Example Usage

Basic 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.sagemakerDevice.SagemakerDevice(this, "example", {
  device: {
    deviceName: "example",
  },
  deviceFleetName: "${aws_sagemaker_device_fleet.example.device_fleet_name}",
});

Argument Reference

The following arguments are supported:

  • deviceFleetName - (Required) The name of the Device Fleet.
  • device - (Required) The device to register with SageMaker Edge Manager. See Device details below.

Device

  • description - (Required) A description for the device.
  • deviceName - (Optional) The name of the device.
  • iotThingName - (Optional) Amazon Web Services Internet of Things (IoT) object name.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The id is constructed from deviceFleetName/deviceName.
  • arn - The Amazon Resource Name (ARN) assigned by AWS to this Device.

Import

SageMaker Devices can be imported using the deviceFleetName/deviceName, e.g.,

$ terraform import aws_sagemaker_device.example my-fleet/my-device