Class CfnApplicationOutputV2
- All Implemented Interfaces:
IInspectable,IApplicationOutputV2Ref,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
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.services.kinesisanalytics.*;
CfnApplicationOutputV2 cfnApplicationOutputV2 = CfnApplicationOutputV2.Builder.create(this, "MyCfnApplicationOutputV2")
.applicationName("applicationName")
.output(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())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.static interfaceDeprecated.Describes the data format when records are written to the destination in a SQL-based Kinesis Data Analytics application.static interfaceDeprecated.For a SQL-based Kinesis Data Analytics application, when configuring application output, identifies a Kinesis Data Firehose delivery stream as the destination.static interfaceDeprecated.When you configure a SQL-based Kinesis Data Analytics application's output, identifies a Kinesis data stream as the destination.static interfaceDeprecated.When you configure a SQL-based Kinesis Data Analytics application's output, identifies an Amazon Lambda function as the destination.static interfaceDeprecated.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.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesisanalytics.IApplicationOutputV2Ref
IApplicationOutputV2Ref.Jsii$Default, IApplicationOutputV2Ref.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnApplicationOutputV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedCfnApplicationOutputV2(software.amazon.jsii.JsiiObjectRef objRef) Deprecated.CfnApplicationOutputV2(software.constructs.Construct scope, String id, CfnApplicationOutputV2Props props) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.voidinspect(TreeInspector inspector) Deprecated.renderProperties(Map<String, Object> props) Deprecated.voidsetApplicationName(String value) Deprecated.voidsetOutput(IResolvable value) Deprecated.voidDeprecated.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
Deprecated.(deprecated) The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnApplicationOutputV2
protected CfnApplicationOutputV2(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
CfnApplicationOutputV2
protected CfnApplicationOutputV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
CfnApplicationOutputV2
@Stability(Deprecated) @Deprecated public CfnApplicationOutputV2(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationOutputV2Props props) Deprecated.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Deprecated.(deprecated) Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Deprecated) @Deprecated @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) Deprecated.- Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getApplicationOutputRef
@Stability(Deprecated) @Deprecated @NotNull public ApplicationOutputV2Reference getApplicationOutputRef()Deprecated.(deprecated) A reference to a ApplicationOutput resource.- Specified by:
getApplicationOutputRefin interfaceIApplicationOutputV2Ref
-
getAttrId
Deprecated. -
getCfnProperties
Deprecated.- Overrides:
getCfnPropertiesin classCfnResource
-
getApplicationName
Deprecated.(deprecated) The name of the application. -
setApplicationName
Deprecated.(deprecated) The name of the application. -
getOutput
Deprecated.(deprecated) 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. -
setOutput
Deprecated.(deprecated) 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. -
setOutput
@Stability(Deprecated) @Deprecated public void setOutput(@NotNull CfnApplicationOutputV2.OutputProperty value) Deprecated.(deprecated) 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.
-
aws-kinesisanalyticsv2instead