CfnDeviceDefinitionVersionProps

class aws_cdk.aws_greengrass.CfnDeviceDefinitionVersionProps(*, device_definition_id, devices)

Bases: object

Properties for defining a CfnDeviceDefinitionVersion.

Parameters:
  • device_definition_id (str) – The ID of the device definition associated with this version. This value is a GUID.

  • devices (Union[IResolvable, Sequence[Union[IResolvable, DeviceProperty, Dict[str, Any]]]]) – The devices in this version.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinitionversion.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_greengrass as greengrass

cfn_device_definition_version_props = greengrass.CfnDeviceDefinitionVersionProps(
    device_definition_id="deviceDefinitionId",
    devices=[greengrass.CfnDeviceDefinitionVersion.DeviceProperty(
        certificate_arn="certificateArn",
        id="id",
        thing_arn="thingArn",

        # the properties below are optional
        sync_shadow=False
    )]
)

Attributes

device_definition_id

The ID of the device definition associated with this version.

This value is a GUID.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinitionversion.html#cfn-greengrass-devicedefinitionversion-devicedefinitionid

devices

The devices in this version.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinitionversion.html#cfn-greengrass-devicedefinitionversion-devices