Class CfnApplicationOutputV2
A CloudFormation AWS::KinesisAnalyticsV2::ApplicationOutput
.
Inherited Members
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.AWS.KinesisAnalytics.dll
Syntax (csharp)
public class CfnApplicationOutputV2 : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnApplicationOutputV2
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
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 ).
CloudformationResource: AWS::KinesisAnalyticsV2::ApplicationOutput
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisAnalytics;
var cfnApplicationOutputV2 = new CfnApplicationOutputV2(this, "MyCfnApplicationOutputV2", new CfnApplicationOutputV2Props {
ApplicationName = "applicationName",
Output = new OutputProperty {
DestinationSchema = new DestinationSchemaProperty {
RecordFormatType = "recordFormatType"
},
// the properties below are optional
KinesisFirehoseOutput = new KinesisFirehoseOutputProperty {
ResourceArn = "resourceArn"
},
KinesisStreamsOutput = new KinesisStreamsOutputProperty {
ResourceArn = "resourceArn"
},
LambdaOutput = new LambdaOutputProperty {
ResourceArn = "resourceArn"
},
Name = "name"
}
});
Synopsis
Constructors
CfnApplicationOutputV2(Construct, String, ICfnApplicationOutputV2Props) | Create a new |
CfnApplicationOutputV2(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnApplicationOutputV2(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
ApplicationName | The name of the application. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Output | 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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnApplicationOutputV2(Construct, String, ICfnApplicationOutputV2Props)
Create a new AWS::KinesisAnalyticsV2::ApplicationOutput
.
public CfnApplicationOutputV2(Construct scope, string id, ICfnApplicationOutputV2Props props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnApplicationOutputV2Props
- resource properties.
CfnApplicationOutputV2(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnApplicationOutputV2(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnApplicationOutputV2(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnApplicationOutputV2(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ApplicationName
The name of the application.
public virtual string ApplicationName { get; set; }
Property Value
System.String
Remarks
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Output
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.
public virtual object Output { get; set; }
Property Value
System.Object
Remarks
The destination can be a Kinesis data stream or a Kinesis Data Firehose delivery stream.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>