interface CfnDeviceProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT1Click.CfnDeviceProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot1click#CfnDeviceProps |
Java | software.amazon.awscdk.services.iot1click.CfnDeviceProps |
Python | aws_cdk.aws_iot1click.CfnDeviceProps |
TypeScript | aws-cdk-lib » aws_iot1click » CfnDeviceProps |
Properties for defining a CfnDevice
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-device.html
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
).