aws-cdk-lib.aws_iot1click.CfnProject.DeviceTemplateProperty
interface DeviceTemplateProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT1Click.CfnProject.DeviceTemplateProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot1click#CfnProject_DeviceTemplateProperty |
![]() | software.amazon.awscdk.services.iot1click.CfnProject.DeviceTemplateProperty |
![]() | aws_cdk.aws_iot1click.CfnProject.DeviceTemplateProperty |
![]() | 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
Name | Type | Description |
---|---|---|
callback | any | An optional AWS Lambda function to invoke instead of the default AWS Lambda function provided by the placement template. |
device | string | The 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"
.