CfnDeviceProps

class aws_cdk.aws_iot1click.CfnDeviceProps(*, device_id, enabled)

Bases: object

Properties for defining a CfnDevice.

Parameters:
  • device_id (str) – The ID of the device, such as G030PX0312744DWM .

  • enabled (Union[bool, IResolvable]) – A Boolean value indicating whether the device is enabled ( true ) or not ( false ).

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-device.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iot1click as iot1click

cfn_device_props = iot1click.CfnDeviceProps(
    device_id="deviceId",
    enabled=False
)

Attributes

device_id

The ID of the device, such as G030PX0312744DWM .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-device.html#cfn-iot1click-device-deviceid

enabled

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-device.html#cfn-iot1click-device-enabled