import * as core from "@terrascript/core"; export interface DeviceBlkArgs extends core.SchemaArgs { description?: string | core.StringOut; deviceName: string | core.StringOut; iotThingName?: string | core.StringOut; } export class DeviceBlk extends core.Schema { @core.attr(String) public description?: string | core.StringOut; @core.attr(String) public deviceName!: string | core.StringOut; @core.attr(String) public iotThingName?: string | core.StringOut; } export interface DeviceArgs extends core.ResourceArgs { /** * (Required) The device to register with SageMaker Edge Manager. See [Device](#device) details below. */ device: DeviceBlk; /** * (Required) The name of the Device Fleet. */ deviceFleetName: string | core.StringOut; } export class Device extends core.Resource { @core.attr(String, { computed: true }) public agentVersion!: string | core.StringOut; /** * The Amazon Resource Name (ARN) assigned by AWS to this Device. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The device to register with SageMaker Edge Manager. See [Device](#device) details below. */ @core.attr(DeviceBlk) public device!: DeviceBlk; /** * (Required) The name of the Device Fleet. */ @core.attr(String) public deviceFleetName!: string | core.StringOut; /** * The id is constructed from `device-fleet-name/device-name`. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; constructor(name: string, args?: DeviceArgs) { super(name, "aws_sagemaker_device", args); } public override getNamespace(): string { return "aws_sagemaker"; } }