aws-cdk-lib.aws_iot1click.CfnDeviceProps

interface CfnDeviceProps

LanguageType name
.NETAmazon.CDK.AWS.IoT1Click.CfnDeviceProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot1click#CfnDeviceProps
Javasoftware.amazon.awscdk.services.iot1click.CfnDeviceProps
Pythonaws_cdk.aws_iot1click.CfnDeviceProps
TypeScript aws-cdk-lib » aws_iot1click » CfnDeviceProps

Properties for defining a CfnDevice.

Example

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

Properties

NameTypeDescription
deviceIdstringThe ID of the device, such as G030PX0312744DWM .
enabledboolean | IResolvableA Boolean value indicating whether the device is enabled ( true ) or not ( false ).

deviceId

Type: string

The ID of the device, such as G030PX0312744DWM .


enabled

Type: boolean | IResolvable

A Boolean value indicating whether the device is enabled ( true ) or not ( false ).