AWS CloudFormation
User Guide (Version )

AWS::IoT1Click::Project DeviceTemplate

In AWS CloudFormation, use the DeviceTemplate property type to define the template for an AWS IoT 1-Click project.

DeviceTemplate is a property of the AWS::IoT1Click::Project resource.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "CallbackOverrides" : Json, "DeviceType" : String }

YAML

CallbackOverrides: Json DeviceType: String

Properties

CallbackOverrides

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

Required: No

Type: Json

Update requires: No interruption

DeviceType

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

Required: No

Type: String

Update requires: No interruption

See Also

On this page: