Class: Aws::IoT1ClickProjects::Types::PlacementTemplate

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 PlacementTemplate data as a hash:

{
  default_attributes: {
    "AttributeName" => "AttributeDefaultValue",
  },
  device_templates: {
    "DeviceTemplateName" => {
      device_type: "DeviceType",
      callback_overrides: {
        "DeviceCallbackKey" => "DeviceCallbackValue",
      },
    },
  },
}

An object defining the template for a placement.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_attributesHash<String,String>

The default attributes (key/value pairs) to be applied to all placements using this template.

Returns:

  • (Hash<String,String>)


580
581
582
583
584
585
# File 'gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/types.rb', line 580

class PlacementTemplate < Struct.new(
  :default_attributes,
  :device_templates)
  SENSITIVE = []
  include Aws::Structure
end

#device_templatesHash<String,Types::DeviceTemplate>

An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.

Returns:



580
581
582
583
584
585
# File 'gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/types.rb', line 580

class PlacementTemplate < Struct.new(
  :default_attributes,
  :device_templates)
  SENSITIVE = []
  include Aws::Structure
end