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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb

Overview

Note:

When making an API call, you may pass Device data as a hash:

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

Information about a device.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_arnString

The ARN of the certificate associated with the device.

Returns:

  • (String)


2146
2147
2148
2149
2150
2151
2152
2153
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 2146

class Device < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  SENSITIVE = []
  include Aws::Structure
end

#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)


2146
2147
2148
2149
2150
2151
2152
2153
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 2146

class Device < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  SENSITIVE = []
  include Aws::Structure
end

#sync_shadowBoolean

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

Returns:

  • (Boolean)


2146
2147
2148
2149
2150
2151
2152
2153
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 2146

class Device < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  SENSITIVE = []
  include Aws::Structure
end

#thing_arnString

The thing ARN of the device.

Returns:

  • (String)


2146
2147
2148
2149
2150
2151
2152
2153
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 2146

class Device < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  SENSITIVE = []
  include Aws::Structure
end