@Stability(value=Stable)
public static interface CfnApplicationV2.InputProperty
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.kinesisanalytics.*;
InputProperty inputProperty = InputProperty.builder()
.inputSchema(InputSchemaProperty.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())
.namePrefix("namePrefix")
// the properties below are optional
.inputParallelism(InputParallelismProperty.builder()
.count(123)
.build())
.inputProcessingConfiguration(InputProcessingConfigurationProperty.builder()
.inputLambdaProcessor(InputLambdaProcessorProperty.builder()
.resourceArn("resourceArn")
.build())
.build())
.kinesisFirehoseInput(KinesisFirehoseInputProperty.builder()
.resourceArn("resourceArn")
.build())
.kinesisStreamsInput(KinesisStreamsInputProperty.builder()
.resourceArn("resourceArn")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplicationV2.InputProperty.Builder
A builder for
CfnApplicationV2.InputProperty |
static class |
CfnApplicationV2.InputProperty.Jsii$Proxy
An implementation for
CfnApplicationV2.InputProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplicationV2.InputProperty.Builder |
builder() |
default Object |
getInputParallelism()
Describes the number of in-application streams to create.
|
default Object |
getInputProcessingConfiguration()
The [InputProcessingConfiguration](https://docs.aws.amazon.com/kinesisanalytics/latest/apiv2/API_InputProcessingConfiguration.html) for the input.
|
Object |
getInputSchema()
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.
|
default Object |
getKinesisFirehoseInput()
If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.
|
default Object |
getKinesisStreamsInput()
If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).
|
String |
getNamePrefix()
The name prefix to use when creating an in-application stream.
|
@Stability(value=Stable) @NotNull Object getInputSchema()
Also used to describe the format of the reference data source.
@Stability(value=Stable) @NotNull String getNamePrefix()
Suppose that you specify a prefix " MyInApplicationStream ." Kinesis Data Analytics then creates one or more (as per the InputParallelism count you specified) in-application streams with the names " MyInApplicationStream_001 ," " MyInApplicationStream_002 ," and so on.
@Stability(value=Stable) @Nullable default Object getInputParallelism()
@Stability(value=Stable) @Nullable default Object getInputProcessingConfiguration()
@Stability(value=Stable) @Nullable default Object getKinesisFirehoseInput()
@Stability(value=Stable) @Nullable default Object getKinesisStreamsInput()
@Stability(value=Stable) static CfnApplicationV2.InputProperty.Builder builder()
Copyright © 2022. All rights reserved.