Menu
AWS Greengrass
API Reference

CreateDeviceDefinitionRequestBody

in: body

required: true

schema:

properties:

  • Name:

    The name of the device definition.

    type: string

  • InitialVersion:
    DeviceDefinitionVersion

    type: object

    Information about a device definition version.

    properties:

    • Devices

      Devices in the definition version.

      type: array

      items:
      Device

      type: object

      Information about a Device.

      required: Id|ThingArn|CertificateArn

      properties:

      • Id:

        Element Id for this entry in the list.

        type: string

      • ThingArn:

        Thing ARN of the device.

        type: string

      • CertificateArn:

        Certificate ARN of the device.

        type: string

      • SyncShadow:

        If true, the local shadow value automatically syncs with the cloud's shadow state.

        type: boolean

Example:

Copy
{ "Name": "string", "InitialVersion": { "Devices": [ { "Id": "string", "ThingArn": "string", "CertificateArn": "string", "SyncShadow": true } ] } }