-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnApplicationReferenceDataSourceProps.go
64 lines (61 loc) · 2.9 KB
/
CfnApplicationReferenceDataSourceProps.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
package awskinesisanalyticsv2
// Properties for defining a `CfnApplicationReferenceDataSource`.
//
// 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"
//
// cfnApplicationReferenceDataSourceProps := &CfnApplicationReferenceDataSourceProps{
// ApplicationName: jsii.String("applicationName"),
// ReferenceDataSource: &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-resource-kinesisanalyticsv2-applicationreferencedatasource.html
//
type CfnApplicationReferenceDataSourceProps struct {
// The name of the application.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationreferencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-applicationname
//
ApplicationName *string `field:"required" json:"applicationName" yaml:"applicationName"`
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationreferencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource
//
ReferenceDataSource interface{} `field:"required" json:"referenceDataSource" yaml:"referenceDataSource"`
}