-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTopicRule_TimestreamActionProperty.go
55 lines (52 loc) · 2.63 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
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 := &TimestreamActionProperty{
// DatabaseName: jsii.String("databaseName"),
// Dimensions: []interface{}{
// &TimestreamDimensionProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// },
// },
// RoleArn: jsii.String("roleArn"),
// TableName: jsii.String("tableName"),
//
// // the properties below are optional
// Timestamp: &TimestreamTimestampProperty{
// Unit: jsii.String("unit"),
// Value: jsii.String("value"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html
//
type CfnTopicRule_TimestreamActionProperty struct {
// The name of an Amazon Timestream database that has the table to write records into.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-databasename
//
DatabaseName *string `field:"required" json:"databaseName" yaml:"databaseName"`
// Metadata attributes of the time series that are written in each measure record.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-dimensions
//
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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The table where the message data will be written.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-tablename
//
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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-timestamp
//
Timestamp interface{} `field:"optional" json:"timestamp" yaml:"timestamp"`
}