-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnProject_PlacementTemplateProperty.go
38 lines (35 loc) · 1.94 KB
/
CfnProject_PlacementTemplateProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package awsiot1click
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// var callbackOverrides interface{}
// var defaultAttributes interface{}
//
// placementTemplateProperty := &PlacementTemplateProperty{
// DefaultAttributes: defaultAttributes,
// DeviceTemplates: map[string]interface{}{
// "deviceTemplatesKey": &DeviceTemplateProperty{
// "callbackOverrides": callbackOverrides,
// "deviceType": jsii.String("deviceType"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-placementtemplate.html
//
type CfnProject_PlacementTemplateProperty struct {
// The default attributes (key-value pairs) to be applied to all placements using this template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-placementtemplate.html#cfn-iot1click-project-placementtemplate-defaultattributes
//
DefaultAttributes interface{} `field:"optional" json:"defaultAttributes" yaml:"defaultAttributes"`
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-placementtemplate.html#cfn-iot1click-project-placementtemplate-devicetemplates
//
DeviceTemplates interface{} `field:"optional" json:"deviceTemplates" yaml:"deviceTemplates"`
}