-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnScheduledQuery_MixedMeasureMappingProperty.go
61 lines (58 loc) · 3.31 KB
/
CfnScheduledQuery_MixedMeasureMappingProperty.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
package awstimestream
// MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived 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"
//
// mixedMeasureMappingProperty := &MixedMeasureMappingProperty{
// MeasureValueType: jsii.String("measureValueType"),
//
// // the properties below are optional
// MeasureName: jsii.String("measureName"),
// MultiMeasureAttributeMappings: []interface{}{
// &MultiMeasureAttributeMappingProperty{
// MeasureValueType: jsii.String("measureValueType"),
// SourceColumn: jsii.String("sourceColumn"),
//
// // the properties below are optional
// TargetMultiMeasureAttributeName: jsii.String("targetMultiMeasureAttributeName"),
// },
// },
// SourceColumn: jsii.String("sourceColumn"),
// TargetMeasureName: jsii.String("targetMeasureName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html
//
type CfnScheduledQuery_MixedMeasureMappingProperty struct {
// Type of the value that is to be read from sourceColumn.
//
// If the mapping is for MULTI, use MeasureValueType.MULTI.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html#cfn-timestream-scheduledquery-mixedmeasuremapping-measurevaluetype
//
MeasureValueType *string `field:"required" json:"measureValueType" yaml:"measureValueType"`
// Refers to the value of measure_name in a result row.
//
// This field is required if MeasureNameColumn is provided.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html#cfn-timestream-scheduledquery-mixedmeasuremapping-measurename
//
MeasureName *string `field:"optional" json:"measureName" yaml:"measureName"`
// Required when measureValueType is MULTI.
//
// Attribute mappings for MULTI value measures.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html#cfn-timestream-scheduledquery-mixedmeasuremapping-multimeasureattributemappings
//
MultiMeasureAttributeMappings interface{} `field:"optional" json:"multiMeasureAttributeMappings" yaml:"multiMeasureAttributeMappings"`
// This field refers to the source column from which measure-value is to be read for result materialization.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html#cfn-timestream-scheduledquery-mixedmeasuremapping-sourcecolumn
//
SourceColumn *string `field:"optional" json:"sourceColumn" yaml:"sourceColumn"`
// Target measure name to be used.
//
// If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html#cfn-timestream-scheduledquery-mixedmeasuremapping-targetmeasurename
//
TargetMeasureName *string `field:"optional" json:"targetMeasureName" yaml:"targetMeasureName"`
}