Skip to content
v2.278.0

DeviceReference Struct ​

A reference to a Device resource.

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 interfaces_sagemaker } from 'aws-cdk-lib/interfaces';
const deviceReference: interfaces_sagemaker.DeviceReference = {
  deviceFleetName: 'deviceFleetName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_sagemaker as interfaces_sagemaker

device_reference = interfaces_sagemaker.DeviceReference(
    device_fleet_name="deviceFleetName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.sagemaker.*;

DeviceReference deviceReference = DeviceReference.builder()
        .deviceFleetName("deviceFleetName")
        .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.Interfaces.Sagemaker;

var deviceReference = new DeviceReference {
    DeviceFleetName = "deviceFleetName"
};
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"

deviceReference := &DeviceReference{
	DeviceFleetName: jsii.String("deviceFleetName"),
}

Properties ​

deviceFleetNamestringdevice_fleet_namestrdeviceFleetNameStringDeviceFleetNamestringDeviceFleetName*string required #
The DeviceFleetName of the Device resource.