Class CfnProject.DeviceTemplateProperty
In AWS CloudFormation , use the DeviceTemplate
property type to define the template for an AWS IoT 1-Click project.
Inheritance
System.Object
CfnProject.DeviceTemplateProperty
Implements
Namespace: Amazon.CDK.AWS.IoT1Click
Assembly: Amazon.CDK.AWS.IoT1Click.dll
Syntax (csharp)
public class DeviceTemplateProperty : Object, CfnProject.IDeviceTemplateProperty
Syntax (vb)
Public Class DeviceTemplateProperty
Inherits Object
Implements CfnProject.IDeviceTemplateProperty
Remarks
DeviceTemplate
is a property of the AWS::IoT1Click::Project
resource.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT1Click;
var callbackOverrides;
var deviceTemplateProperty = new DeviceTemplateProperty {
CallbackOverrides = callbackOverrides,
DeviceType = "deviceType"
};
Synopsis
Constructors
DeviceTemplateProperty() |
Properties
CallbackOverrides | An optional AWS Lambda function to invoke instead of the default AWS Lambda function provided by the placement template. |
DeviceType | The device type, which currently must be |
Constructors
DeviceTemplateProperty()
public DeviceTemplateProperty()
Properties
CallbackOverrides
An optional AWS Lambda function to invoke instead of the default AWS Lambda function provided by the placement template.
public object CallbackOverrides { get; set; }
Property Value
System.Object
Remarks
DeviceType
The device type, which currently must be "button"
.
public string DeviceType { get; set; }
Property Value
System.String