Skip to content
v2.277.0

DeviceProperty Struct ​

Information of a particular device.

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 deviceProperty: sagemaker.CfnDevice.DeviceProperty = {
  deviceName: 'deviceName',

  // the properties below are optional
  description: 'description',
  iotThingName: 'iotThingName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

device_property = sagemaker.CfnDevice.DeviceProperty(
    device_name="deviceName",

    # the properties below are optional
    description="description",
    iot_thing_name="iotThingName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;

DeviceProperty deviceProperty = DeviceProperty.builder()
        .deviceName("deviceName")

        // the properties below are optional
        .description("description")
        .iotThingName("iotThingName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var deviceProperty = new DeviceProperty {
    DeviceName = "deviceName",

    // the properties below are optional
    Description = "description",
    IotThingName = "iotThingName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

deviceProperty := &DeviceProperty{
	DeviceName: jsii.String("deviceName"),

	// the properties below are optional
	Description: jsii.String("description"),
	IotThingName: jsii.String("iotThingName"),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
Description of the device.
deviceNamestringdevice_namestrdeviceNameStringDeviceNamestringDeviceName*stringrequired#
The name of the device.
iotThingNameoptionalstringiot_thing_nameoptionalstriotThingNameoptionalStringIotThingNameoptionalstringIotThingNameoptional*string#
AWS Internet of Things (IoT) object name.