Interface CfnProject.PlacementTemplateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProject.PlacementTemplateProperty.Jsii$Proxy
- Enclosing class:
- CfnProject
@Stability(Stable)
public static interface CfnProject.PlacementTemplateProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iot1click.*;
Object callbackOverrides;
Object defaultAttributes;
PlacementTemplateProperty placementTemplateProperty = PlacementTemplateProperty.builder()
.defaultAttributes(defaultAttributes)
.deviceTemplates(Map.of(
"deviceTemplatesKey", DeviceTemplateProperty.builder()
.callbackOverrides(callbackOverrides)
.deviceType("deviceType")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnProject.PlacementTemplatePropertystatic final classAn implementation forCfnProject.PlacementTemplateProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe default attributes (key-value pairs) to be applied to all placements using this template.default ObjectAn object specifying the DeviceTemplate for all placements using this ( PlacementTemplate ) template.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefaultAttributes
The default attributes (key-value pairs) to be applied to all placements using this template. -
getDeviceTemplates
An object specifying the DeviceTemplate for all placements using this ( PlacementTemplate ) template. -
builder
-