You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Greengrass::Types::Device

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Device as input to an Aws::Client method, you can use a vanilla Hash:

{
  certificate_arn: "__string", # required
  id: "__string", # required
  sync_shadow: false,
  thing_arn: "__string", # required
}

Information about a device.

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_arnString

The ARN of the certificate associated with the device.

Returns:

  • (String)

    The ARN of the certificate associated with the device.

#idString

A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern \'\'[a-zA-Z0-9:_-]+\'\'.

Returns:

  • (String)

    A descriptive or arbitrary ID for the device.

#sync_shadowBoolean

If true, the device\'s local shadow will be automatically synced with the cloud.

Returns:

  • (Boolean)

    If true, the device\'s local shadow will be automatically synced with the cloud.

#thing_arnString

The thing ARN of the device.

Returns:

  • (String)

    The thing ARN of the device.