@Stability(value=Stable)
public static interface CfnApplicationReferenceDataSource.ReferenceDataSourceProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisanalyticsv2.*;
ReferenceDataSourceProperty referenceDataSourceProperty = ReferenceDataSourceProperty.builder()
.referenceSchema(ReferenceSchemaProperty.builder()
.recordColumns(List.of(RecordColumnProperty.builder()
.name("name")
.sqlType("sqlType")
// the properties below are optional
.mapping("mapping")
.build()))
.recordFormat(RecordFormatProperty.builder()
.recordFormatType("recordFormatType")
// the properties below are optional
.mappingParameters(MappingParametersProperty.builder()
.csvMappingParameters(CSVMappingParametersProperty.builder()
.recordColumnDelimiter("recordColumnDelimiter")
.recordRowDelimiter("recordRowDelimiter")
.build())
.jsonMappingParameters(JSONMappingParametersProperty.builder()
.recordRowPath("recordRowPath")
.build())
.build())
.build())
// the properties below are optional
.recordEncoding("recordEncoding")
.build())
// the properties below are optional
.s3ReferenceDataSource(S3ReferenceDataSourceProperty.builder()
.bucketArn("bucketArn")
.fileKey("fileKey")
.build())
.tableName("tableName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder
|
static class |
CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Jsii$Proxy
An implementation for
CfnApplicationReferenceDataSource.ReferenceDataSourceProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder |
builder() |
Object |
getReferenceSchema()
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.
|
default Object |
getS3ReferenceDataSource()
Identifies the S3 bucket and object that contains the reference data.
|
default String |
getTableName()
The name of the in-application table to create.
|
@Stability(value=Stable) @NotNull Object getReferenceSchema()
@Stability(value=Stable) @Nullable default Object getS3ReferenceDataSource()
A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
@Stability(value=Stable) @Nullable default String getTableName()
@Stability(value=Stable) static CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder builder()
Copyright © 2022. All rights reserved.