Skip to content
v2.275.0

CfnDeviceProps Struct ​

Properties for defining a CfnDevice.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const cfnDeviceProps: sagemaker.CfnDeviceProps = {
  deviceFleetName: 'deviceFleetName',

  // the properties below are optional
  device: {
    deviceName: 'deviceName',

    // the properties below are optional
    description: 'description',
    iotThingName: 'iotThingName',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

deviceoptionalIResolvable | CfnDevice.DevicePropertydeviceoptionaltyping.Union[IResolvable, DeviceProperty]deviceoptionalIResolvableDeviceoptionalIResolvableDeviceoptionalinterface{}#
Edge device you want to create.
deviceFleetNamestringdevice_fleet_namestrdeviceFleetNameStringDeviceFleetNamestringDeviceFleetName*stringrequired#
The name of the fleet the device belongs to.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
An array of key-value pairs that contain metadata to help you categorize and organize your devices.

Each tag consists of a key and a value, both of which you define.