Interface CfnProject.IPlacementTemplateProperty
In AWS CloudFormation , use the PlacementTemplate
property type to define the template for an AWS IoT 1-Click project.
Namespace: Amazon.CDK.AWS.IoT1Click
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPlacementTemplateProperty
Syntax (vb)
Public Interface IPlacementTemplateProperty
Remarks
PlacementTemplate
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 defaultAttributes;
var placementTemplateProperty = new PlacementTemplateProperty {
DefaultAttributes = defaultAttributes,
DeviceTemplates = new Dictionary<string, object> {
{ "deviceTemplatesKey", new DeviceTemplateProperty {
CallbackOverrides = callbackOverrides,
DeviceType = "deviceType"
} }
}
};
Synopsis
Properties
DefaultAttributes | The default attributes (key-value pairs) to be applied to all placements using this template. |
DeviceTemplates | An object specifying the DeviceTemplate for all placements using this ( PlacementTemplate ) template. |
Properties
DefaultAttributes
The default attributes (key-value pairs) to be applied to all placements using this template.
virtual object DefaultAttributes { get; }
Property Value
System.Object
Remarks
DeviceTemplates
An object specifying the DeviceTemplate for all placements using this ( PlacementTemplate ) template.
virtual object DeviceTemplates { get; }
Property Value
System.Object