Class CfnApplicationReferenceDataSource.ReferenceSchemaProperty
The ReferenceSchema property type specifies the format of the data in the reference source for a SQL-based Amazon Kinesis Data Analytics application.
Inheritance
System.Object
CfnApplicationReferenceDataSource.ReferenceSchemaProperty
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.AWS.KinesisAnalytics.dll
Syntax (csharp)
public class ReferenceSchemaProperty : Object, CfnApplicationReferenceDataSource.IReferenceSchemaProperty
Syntax (vb)
Public Class ReferenceSchemaProperty
Inherits Object
Implements CfnApplicationReferenceDataSource.IReferenceSchemaProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisAnalytics;
var referenceSchemaProperty = new ReferenceSchemaProperty {
RecordColumns = new [] { new RecordColumnProperty {
Name = "name",
SqlType = "sqlType",
// the properties below are optional
Mapping = "mapping"
} },
RecordFormat = new RecordFormatProperty {
RecordFormatType = "recordFormatType",
// the properties below are optional
MappingParameters = new MappingParametersProperty {
CsvMappingParameters = new CSVMappingParametersProperty {
RecordColumnDelimiter = "recordColumnDelimiter",
RecordRowDelimiter = "recordRowDelimiter"
},
JsonMappingParameters = new JSONMappingParametersProperty {
RecordRowPath = "recordRowPath"
}
}
},
// the properties below are optional
RecordEncoding = "recordEncoding"
};
Synopsis
Constructors
ReferenceSchemaProperty() |
Properties
RecordColumns | A list of RecordColumn objects. |
RecordEncoding | Specifies the encoding of the records in the reference source. |
RecordFormat | Specifies the format of the records on the reference source. |
Constructors
ReferenceSchemaProperty()
public ReferenceSchemaProperty()
Properties
RecordColumns
A list of RecordColumn objects.
public object RecordColumns { get; set; }
Property Value
System.Object
Remarks
RecordEncoding
Specifies the encoding of the records in the reference source.
public string RecordEncoding { get; set; }
Property Value
System.String
Remarks
RecordFormat
Specifies the format of the records on the reference source.
public object RecordFormat { get; set; }
Property Value
System.Object