-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnThingGroupProps.go
62 lines (59 loc) · 2.6 KB
/
CfnThingGroupProps.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package awsiot
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnThingGroup`.
//
// 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"
//
// cfnThingGroupProps := &CfnThingGroupProps{
// ParentGroupName: jsii.String("parentGroupName"),
// QueryString: jsii.String("queryString"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// ThingGroupName: jsii.String("thingGroupName"),
// ThingGroupProperties: &ThingGroupPropertiesProperty{
// AttributePayload: &AttributePayloadProperty{
// Attributes: map[string]*string{
// "attributesKey": jsii.String("attributes"),
// },
// },
// ThingGroupDescription: jsii.String("thingGroupDescription"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html
//
type CfnThingGroupProps struct {
// The parent thing group name.
//
// A Dynamic Thing Group does not have `parentGroupName` defined.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html#cfn-iot-thinggroup-parentgroupname
//
ParentGroupName *string `field:"optional" json:"parentGroupName" yaml:"parentGroupName"`
// The dynamic thing group search query string.
//
// The `queryString` attribute *is* required for `CreateDynamicThingGroup` . The `queryString` attribute *is not* required for `CreateThingGroup` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html#cfn-iot-thinggroup-querystring
//
QueryString *string `field:"optional" json:"queryString" yaml:"queryString"`
// Metadata which can be used to manage the thing group or dynamic thing group.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html#cfn-iot-thinggroup-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
// The thing group name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html#cfn-iot-thinggroup-thinggroupname
//
ThingGroupName *string `field:"optional" json:"thingGroupName" yaml:"thingGroupName"`
// Thing group properties.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html#cfn-iot-thinggroup-thinggroupproperties
//
ThingGroupProperties interface{} `field:"optional" json:"thingGroupProperties" yaml:"thingGroupProperties"`
}