Class CfnApplicationOutputPropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.kinesisanalyticsv2.CfnApplicationOutputPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:20:00.706Z") @Stability(Stable) public class CfnApplicationOutputPropsMixin extends Mixin implements software.constructs.IMixin
Adds an external destination to your SQL-based Amazon Kinesis Data Analytics application.

If you want Kinesis Data Analytics to deliver data from an in-application stream within your application to an external destination (such as an Kinesis data stream, a Kinesis Data Firehose delivery stream, or an Amazon Lambda function), you add the relevant configuration to your application using this operation. You can configure one or more outputs for your application. Each output configuration maps an in-application stream and an external destination.

You can use one of the output configurations to deliver data from your in-application error stream to an external destination so that you can analyze the errors.

Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version.

Creation of multiple outputs should be sequential (use of DependsOn) to avoid a problem with a stale application version ( ConcurrentModificationException ).

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.kinesisanalyticsv2.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnApplicationOutputPropsMixin cfnApplicationOutputPropsMixin = CfnApplicationOutputPropsMixin.Builder.create(CfnApplicationOutputMixinProps.builder()
         .applicationName("applicationName")
         .output(OutputProperty.builder()
                 .destinationSchema(DestinationSchemaProperty.builder()
                         .recordFormatType("recordFormatType")
                         .build())
                 .kinesisFirehoseOutput(KinesisFirehoseOutputProperty.builder()
                         .resourceArn("resourceArn")
                         .build())
                 .kinesisStreamsOutput(KinesisStreamsOutputProperty.builder()
                         .resourceArn("resourceArn")
                         .build())
                 .lambdaOutput(LambdaOutputProperty.builder()
                         .resourceArn("resourceArn")
                         .build())
                 .name("name")
                 .build())
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnApplicationOutputPropsMixin

      protected CfnApplicationOutputPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnApplicationOutputPropsMixin

      protected CfnApplicationOutputPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnApplicationOutputPropsMixin

      @Stability(Stable) public CfnApplicationOutputPropsMixin(@NotNull CfnApplicationOutputMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::KinesisAnalyticsV2::ApplicationOutput.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnApplicationOutputPropsMixin

      @Stability(Stable) public CfnApplicationOutputPropsMixin(@NotNull CfnApplicationOutputMixinProps props)
      Create a mixin to apply properties to AWS::KinesisAnalyticsV2::ApplicationOutput.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnApplicationOutputMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()