aws-cdk-lib.aws_iot1click.CfnDeviceProps
interface CfnDeviceProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT1Click.CfnDeviceProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot1click#CfnDeviceProps |
![]() | software.amazon.awscdk.services.iot1click.CfnDeviceProps |
![]() | aws_cdk.aws_iot1click.CfnDeviceProps |
![]() | 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
Name | Type | Description |
---|---|---|
device | string | The ID of the device, such as G030PX0312744DWM . |
enabled | boolean | IResolvable | A 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
).