interface InputLambdaProcessorProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KinesisAnalytics.CfnApplication.InputLambdaProcessorProperty |
Java | software.amazon.awscdk.services.kinesisanalytics.CfnApplication.InputLambdaProcessorProperty |
Python | aws_cdk.aws_kinesisanalytics.CfnApplication.InputLambdaProcessorProperty |
TypeScript | @aws-cdk/aws-kinesisanalytics » CfnApplication » InputLambdaProcessorProperty |
An object that contains the Amazon Resource Name (ARN) of the AWS Lambda function that is used to preprocess records in the stream, and the ARN of the IAM role that is used to access the AWS Lambda function.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as kinesisanalytics from '@aws-cdk/aws-kinesisanalytics';
const inputLambdaProcessorProperty: kinesisanalytics.CfnApplication.InputLambdaProcessorProperty = {
resourceArn: 'resourceArn',
roleArn: 'roleArn',
};
Properties
Name | Type | Description |
---|---|---|
resource | string | The ARN of the AWS Lambda function that operates on records in the stream. |
role | string | The ARN of the IAM role that is used to access the AWS Lambda function. |
resourceArn
Type:
string
The ARN of the AWS Lambda function that operates on records in the stream.
To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda
roleArn
Type:
string
The ARN of the IAM role that is used to access the AWS Lambda function.