Interface CfnApplicationOutputV2.OutputProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnApplicationOutputV2.OutputProperty.Jsii$Proxy
Enclosing class:
CfnApplicationOutputV2

@Stability(Stable) public static interface CfnApplicationOutputV2.OutputProperty extends software.amazon.jsii.JsiiSerializable
Describes a SQL-based Kinesis Data Analytics application's output configuration, in which you identify an in-application stream and a destination where you want the in-application stream data to be written.

The destination can be a Kinesis data stream or a Kinesis Data Firehose delivery stream.

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.*;
 OutputProperty outputProperty = OutputProperty.builder()
         .destinationSchema(DestinationSchemaProperty.builder()
                 .recordFormatType("recordFormatType")
                 .build())
         // the properties below are optional
         .kinesisFirehoseOutput(KinesisFirehoseOutputProperty.builder()
                 .resourceArn("resourceArn")
                 .build())
         .kinesisStreamsOutput(KinesisStreamsOutputProperty.builder()
                 .resourceArn("resourceArn")
                 .build())
         .lambdaOutput(LambdaOutputProperty.builder()
                 .resourceArn("resourceArn")
                 .build())
         .name("name")
         .build();
 
  • Method Details

    • getDestinationSchema

      @Stability(Stable) @NotNull Object getDestinationSchema()
      Describes the data format when records are written to the destination.
    • getKinesisFirehoseOutput

      @Stability(Stable) @Nullable default Object getKinesisFirehoseOutput()
      Identifies a Kinesis Data Firehose delivery stream as the destination.
    • getKinesisStreamsOutput

      @Stability(Stable) @Nullable default Object getKinesisStreamsOutput()
      Identifies a Kinesis data stream as the destination.
    • getLambdaOutput

      @Stability(Stable) @Nullable default Object getLambdaOutput()
      Identifies an Amazon Lambda function as the destination.
    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the in-application stream.
    • builder

      @Stability(Stable) static CfnApplicationOutputV2.OutputProperty.Builder builder()
      Returns:
      a CfnApplicationOutputV2.OutputProperty.Builder of CfnApplicationOutputV2.OutputProperty