@Stability(value=Stable)
public static interface CfnProject.PlacementTemplateProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProject.PlacementTemplateProperty.Builder
A builder for
CfnProject.PlacementTemplateProperty |
static class |
CfnProject.PlacementTemplateProperty.Jsii$Proxy
An implementation for
CfnProject.PlacementTemplateProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnProject.PlacementTemplateProperty.Builder |
builder() |
default Object |
getDefaultAttributes()
The default attributes (key-value pairs) to be applied to all placements using this template.
|
default Object |
getDeviceTemplates()
An object specifying the [DeviceTemplate](https://docs.aws.amazon.com/iot-1-click/latest/projects-apireference/API_DeviceTemplate.html) for all placements using this ( [PlacementTemplate](https://docs.aws.amazon.com/iot-1-click/latest/projects-apireference/API_PlacementTemplate.html) ) template.
|
@Stability(value=Stable) @Nullable default Object getDefaultAttributes()
@Stability(value=Stable) @Nullable default Object getDeviceTemplates()
@Stability(value=Stable) static CfnProject.PlacementTemplateProperty.Builder builder()
Copyright © 2022. All rights reserved.