aws-cdk-lib.aws_iot1click.CfnProject.PlacementTemplateProperty

interface PlacementTemplateProperty

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

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

PlacementTemplate 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;
declare const defaultAttributes: any;
const placementTemplateProperty: iot1click.CfnProject.PlacementTemplateProperty = {
  defaultAttributes: defaultAttributes,
  deviceTemplates: {
    deviceTemplatesKey: {
      callbackOverrides: callbackOverrides,
      deviceType: 'deviceType',
    },
  },
};

Properties

NameTypeDescription
defaultAttributes?anyThe default attributes (key-value pairs) to be applied to all placements using this template.
deviceTemplates?IResolvable | { [string]: IResolvable | DeviceTemplateProperty }An object specifying the DeviceTemplate for all placements using this ( PlacementTemplate ) template.

defaultAttributes?

Type: any (optional)

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


deviceTemplates?

Type: IResolvable | { [string]: IResolvable | DeviceTemplateProperty } (optional)

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