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

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

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

Overview

Note:

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

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

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

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

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

#device_typeString

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

Returns:

  • (String)

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