Skip to content
v2.278.0

InputProcessingConfigurationProperty Struct ​

Provides a description of a processor that is used to preprocess the records in the stream before being processed by your application code.

Currently, the only input processor available is AWS Lambda .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisanalytics as kinesisanalytics } from 'aws-cdk-lib';
const inputProcessingConfigurationProperty: kinesisanalytics.CfnApplication.InputProcessingConfigurationProperty = {
  inputLambdaProcessor: {
    resourceArn: 'resourceArn',
    roleArn: 'roleArn',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kinesisanalytics as kinesisanalytics

input_processing_configuration_property = kinesisanalytics.CfnApplication.InputProcessingConfigurationProperty(
    input_lambda_processor=kinesisanalytics.CfnApplication.InputLambdaProcessorProperty(
        resource_arn="resourceArn",
        role_arn="roleArn"
    )
)
java
// 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.*;

InputProcessingConfigurationProperty inputProcessingConfigurationProperty = InputProcessingConfigurationProperty.builder()
        .inputLambdaProcessor(InputLambdaProcessorProperty.builder()
                .resourceArn("resourceArn")
                .roleArn("roleArn")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 inputProcessingConfigurationProperty = new InputProcessingConfigurationProperty {
    InputLambdaProcessor = new InputLambdaProcessorProperty {
        ResourceArn = "resourceArn",
        RoleArn = "roleArn"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

inputProcessingConfigurationProperty := &InputProcessingConfigurationProperty{
	InputLambdaProcessor: &InputLambdaProcessorProperty{
		ResourceArn: jsii.String("resourceArn"),
		RoleArn: jsii.String("roleArn"),
	},
}

Properties ​

inputLambdaProcessoroptionalIResolvable | CfnApplication.InputLambdaProcessorPropertyinput_lambda_processoroptionaltyping.Union[IResolvable, InputLambdaProcessorProperty]inputLambdaProcessoroptionalIResolvableInputLambdaProcessoroptionalIResolvableInputLambdaProcessoroptionalinterface{} #
The InputLambdaProcessor that is used to preprocess the records in the stream before being processed by your application code.