-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnApplicationReferenceDataSource_ReferenceSchemaProperty.go
58 lines (55 loc) · 2.77 KB
/
CfnApplicationReferenceDataSource_ReferenceSchemaProperty.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
package awskinesisanalyticsv2
// For a SQL-based Managed Service for Apache Flink application, describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
//
// 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"
//
// referenceSchemaProperty := &ReferenceSchemaProperty{
// RecordColumns: []interface{}{
// &RecordColumnProperty{
// Name: jsii.String("name"),
// SqlType: jsii.String("sqlType"),
//
// // the properties below are optional
// Mapping: jsii.String("mapping"),
// },
// },
// RecordFormat: &RecordFormatProperty{
// RecordFormatType: jsii.String("recordFormatType"),
//
// // the properties below are optional
// MappingParameters: &MappingParametersProperty{
// CsvMappingParameters: &CSVMappingParametersProperty{
// RecordColumnDelimiter: jsii.String("recordColumnDelimiter"),
// RecordRowDelimiter: jsii.String("recordRowDelimiter"),
// },
// JsonMappingParameters: &JSONMappingParametersProperty{
// RecordRowPath: jsii.String("recordRowPath"),
// },
// },
// },
//
// // the properties below are optional
// RecordEncoding: jsii.String("recordEncoding"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html
//
type CfnApplicationReferenceDataSource_ReferenceSchemaProperty struct {
// A list of `RecordColumn` objects.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referenceschema-recordcolumns
//
RecordColumns interface{} `field:"required" json:"recordColumns" yaml:"recordColumns"`
// Specifies the format of the records on the streaming source.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referenceschema-recordformat
//
RecordFormat interface{} `field:"required" json:"recordFormat" yaml:"recordFormat"`
// Specifies the encoding of the records in the streaming source.
//
// For example, UTF-8.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referenceschema-recordencoding
//
RecordEncoding *string `field:"optional" json:"recordEncoding" yaml:"recordEncoding"`
}