-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnApplicationReferenceDataSource_ReferenceDataSourceProperty.go
67 lines (64 loc) · 3.63 KB
/
CfnApplicationReferenceDataSource_ReferenceDataSourceProperty.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
package awskinesisanalyticsv2
// For a SQL-based Managed Service for Apache Flink application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application 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"
//
// referenceDataSourceProperty := &ReferenceDataSourceProperty{
// ReferenceSchema: &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"),
// },
//
// // the properties below are optional
// S3ReferenceDataSource: &S3ReferenceDataSourceProperty{
// BucketArn: jsii.String("bucketArn"),
// FileKey: jsii.String("fileKey"),
// },
// TableName: jsii.String("tableName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html
//
type CfnApplicationReferenceDataSource_ReferenceDataSourceProperty struct {
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource-referenceschema
//
ReferenceSchema interface{} `field:"required" json:"referenceSchema" yaml:"referenceSchema"`
// Identifies the S3 bucket and object that contains the reference data.
//
// A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the [UpdateApplication](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_UpdateApplication.html) operation to trigger reloading of data into your application.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource-s3referencedatasource
//
S3ReferenceDataSource interface{} `field:"optional" json:"s3ReferenceDataSource" yaml:"s3ReferenceDataSource"`
// The name of the in-application table to create.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource-tablename
//
TableName *string `field:"optional" json:"tableName" yaml:"tableName"`
}