Class CfnApplicationOutputPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
If you want Amazon Kinesis Analytics to deliver data from an in-application stream within your application to an external destination (such as an Amazon Kinesis stream, an Amazon Kinesis 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. For more information, see Understanding Application Output (Destination) .
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.
For the limits on the number of application inputs and outputs you can configure, see Limits .
This operation requires permissions to perform the kinesisanalytics:AddApplicationOutput action.
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.kinesisanalytics.*;
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")
.roleArn("roleArn")
.build())
.kinesisStreamsOutput(KinesisStreamsOutputProperty.builder()
.resourceArn("resourceArn")
.roleArn("roleArn")
.build())
.lambdaOutput(LambdaOutputProperty.builder()
.resourceArn("resourceArn")
.roleArn("roleArn")
.build())
.name("name")
.build())
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnApplicationOutputPropsMixin.static interfaceDescribes the data format when records are written to the destination.static interfaceWhen configuring application output, identifies an Amazon Kinesis Firehose delivery stream as the destination.static interfaceWhen configuring application output, identifies an Amazon Kinesis stream as the destination.static interfaceWhen configuring application output, identifies an AWS Lambda function as the destination.static interfaceDescribes application output configuration in which you identify an in-application stream and a destination where you want the in-application stream data to be written.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::KinesisAnalytics::ApplicationOutput.CfnApplicationOutputPropsMixin(CfnApplicationOutputMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::KinesisAnalytics::ApplicationOutput.protectedCfnApplicationOutputPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnApplicationOutputPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnApplicationOutputMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 toAWS::KinesisAnalytics::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 toAWS::KinesisAnalytics::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. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-