Class: Aws::IoT1ClickProjects::Types::DeviceTemplate

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

Overview

Note:

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

{
  device_type: "DeviceType",
  callback_overrides: {
    "DeviceCallbackKey" => "DeviceCallbackValue",
  },
}

An object representing a device for a placement template (see PlacementTemplate).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#callback_overridesHash<String,String>

An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.

Returns:

  • (Hash<String,String>)


274
275
276
277
278
279
# File 'gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/types.rb', line 274

class DeviceTemplate < Struct.new(
  :device_type,
  :callback_overrides)
  SENSITIVE = []
  include Aws::Structure
end

#device_typeString

The device type, which currently must be "button".

Returns:

  • (String)


274
275
276
277
278
279
# File 'gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/types.rb', line 274

class DeviceTemplate < Struct.new(
  :device_type,
  :callback_overrides)
  SENSITIVE = []
  include Aws::Structure
end