-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnAssetModel_AssetModelPropertyProperty.go
127 lines (124 loc) · 5.72 KB
/
CfnAssetModel_AssetModelPropertyProperty.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
package awsiotsitewise
// Contains information about an asset model property.
//
// 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"
//
// assetModelPropertyProperty := &AssetModelPropertyProperty{
// DataType: jsii.String("dataType"),
// Name: jsii.String("name"),
// Type: &PropertyTypeProperty{
// TypeName: jsii.String("typeName"),
//
// // the properties below are optional
// Attribute: &AttributeProperty{
// DefaultValue: jsii.String("defaultValue"),
// },
// Metric: &MetricProperty{
// Expression: jsii.String("expression"),
// Variables: []interface{}{
// &ExpressionVariableProperty{
// Name: jsii.String("name"),
// Value: &VariableValueProperty{
// HierarchyExternalId: jsii.String("hierarchyExternalId"),
// HierarchyId: jsii.String("hierarchyId"),
// HierarchyLogicalId: jsii.String("hierarchyLogicalId"),
// PropertyExternalId: jsii.String("propertyExternalId"),
// PropertyId: jsii.String("propertyId"),
// PropertyLogicalId: jsii.String("propertyLogicalId"),
// PropertyPath: []interface{}{
// &PropertyPathDefinitionProperty{
// Name: jsii.String("name"),
// },
// },
// },
// },
// },
// Window: &MetricWindowProperty{
// Tumbling: &TumblingWindowProperty{
// Interval: jsii.String("interval"),
//
// // the properties below are optional
// Offset: jsii.String("offset"),
// },
// },
// },
// Transform: &TransformProperty{
// Expression: jsii.String("expression"),
// Variables: []interface{}{
// &ExpressionVariableProperty{
// Name: jsii.String("name"),
// Value: &VariableValueProperty{
// HierarchyExternalId: jsii.String("hierarchyExternalId"),
// HierarchyId: jsii.String("hierarchyId"),
// HierarchyLogicalId: jsii.String("hierarchyLogicalId"),
// PropertyExternalId: jsii.String("propertyExternalId"),
// PropertyId: jsii.String("propertyId"),
// PropertyLogicalId: jsii.String("propertyLogicalId"),
// PropertyPath: []interface{}{
// &PropertyPathDefinitionProperty{
// Name: jsii.String("name"),
// },
// },
// },
// },
// },
// },
// },
//
// // the properties below are optional
// DataTypeSpec: jsii.String("dataTypeSpec"),
// ExternalId: jsii.String("externalId"),
// Id: jsii.String("id"),
// LogicalId: jsii.String("logicalId"),
// Unit: jsii.String("unit"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html
//
type CfnAssetModel_AssetModelPropertyProperty struct {
// The data type of the asset model property.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-datatype
//
DataType *string `field:"required" json:"dataType" yaml:"dataType"`
// The name of the asset model property.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Contains a property type, which can be one of `attribute` , `measurement` , `metric` , or `transform` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-type
//
Type interface{} `field:"required" json:"type" yaml:"type"`
// The data type of the structure for this property.
//
// This parameter exists on properties that have the `STRUCT` data type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-datatypespec
//
DataTypeSpec *string `field:"optional" json:"dataTypeSpec" yaml:"dataTypeSpec"`
// The external ID of the asset property.
//
// For more information, see [Using external IDs](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids) in the *AWS IoT SiteWise User Guide* .
//
// > One of `ExternalId` or `LogicalId` must be specified.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-externalid
//
ExternalId *string `field:"optional" json:"externalId" yaml:"externalId"`
// The ID of the property.
//
// > This is a return value and can't be set.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-id
//
Id *string `field:"optional" json:"id" yaml:"id"`
// The `LogicalID` of the asset model property.
//
// > One of `ExternalId` or `LogicalId` must be specified.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-logicalid
//
LogicalId *string `field:"optional" json:"logicalId" yaml:"logicalId"`
// The unit of the asset model property, such as `Newtons` or `RPM` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-unit
//
Unit *string `field:"optional" json:"unit" yaml:"unit"`
}