aws-cdk-lib.aws_iot1click.CfnProject.DeviceTemplateProperty

interface DeviceTemplateProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT1Click.CfnProject.DeviceTemplateProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot1click#CfnProject_DeviceTemplateProperty
Javasoftware.amazon.awscdk.services.iot1click.CfnProject.DeviceTemplateProperty
Pythonaws_cdk.aws_iot1click.CfnProject.DeviceTemplateProperty
TypeScript aws-cdk-lib » aws_iot1click » CfnProject » DeviceTemplateProperty

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.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot1click as iot1click } from 'aws-cdk-lib';

declare const callbackOverrides: any;
const deviceTemplateProperty: iot1click.CfnProject.DeviceTemplateProperty = {
  callbackOverrides: callbackOverrides,
  deviceType: 'deviceType',
};

Properties

NameTypeDescription
callbackOverrides?anyAn optional AWS Lambda function to invoke instead of the default AWS Lambda function provided by the placement template.
deviceType?stringThe device type, which currently must be "button" .

callbackOverrides?

Type: any (optional)

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


deviceType?

Type: string (optional)

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