Skip to content
v2.275.0

LambdaOutputProperty Struct ​

When configuring application output, identifies an AWS Lambda function as the destination.

You provide the function Amazon Resource Name (ARN) and also an IAM role ARN that Amazon Kinesis Analytics can use to write to the function on your behalf.

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 lambdaOutputProperty: kinesisanalytics.CfnApplicationOutput.LambdaOutputProperty = {
  resourceArn: 'resourceArn',
  roleArn: 'roleArn',
};

Properties ​

resourceArnstringresource_arnstrresourceArnStringResourceArnstringResourceArn*stringrequired#
Amazon Resource Name (ARN) of the destination Lambda function to write to.
notes

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

roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*stringrequired#
ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination function on your behalf.

You need to grant the necessary permissions to this role.