-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsiot_CfnTopicRule_TimestreamActionProperty.go
43 lines (40 loc) · 1.67 KB
/
awsiot_CfnTopicRule_TimestreamActionProperty.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
package awsiot
// Describes an action that writes records into an Amazon Timestream table.
//
// 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"
//
// timestreamActionProperty := ×treamActionProperty{
// databaseName: jsii.String("databaseName"),
// dimensions: []interface{}{
// ×treamDimensionProperty{
// name: jsii.String("name"),
// value: jsii.String("value"),
// },
// },
// roleArn: jsii.String("roleArn"),
// tableName: jsii.String("tableName"),
//
// // the properties below are optional
// timestamp: ×treamTimestampProperty{
// unit: jsii.String("unit"),
// value: jsii.String("value"),
// },
// }
//
type CfnTopicRule_TimestreamActionProperty struct {
// The name of an Amazon Timestream database that has the table to write records into.
DatabaseName *string `field:"required" json:"databaseName" yaml:"databaseName"`
// Metadata attributes of the time series that are written in each measure record.
Dimensions interface{} `field:"required" json:"dimensions" yaml:"dimensions"`
// The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table.
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The table where the message data will be written.
TableName *string `field:"required" json:"tableName" yaml:"tableName"`
// The value to use for the entry's timestamp.
//
// If blank, the time that the entry was processed is used.
Timestamp interface{} `field:"optional" json:"timestamp" yaml:"timestamp"`
}