aws-cdk-lib.aws_kinesisanalytics.CfnApplicationOutput.LambdaOutputProperty

interface LambdaOutputProperty

LanguageType name
.NETAmazon.CDK.AWS.KinesisAnalytics.CfnApplicationOutput.LambdaOutputProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskinesisanalytics#CfnApplicationOutput_LambdaOutputProperty
Javasoftware.amazon.awscdk.services.kinesisanalytics.CfnApplicationOutput.LambdaOutputProperty
Pythonaws_cdk.aws_kinesisanalytics.CfnApplicationOutput.LambdaOutputProperty
TypeScript aws-cdk-lib » aws_kinesisanalytics » CfnApplicationOutput » LambdaOutputProperty

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

// 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

NameTypeDescription
resourceArnstringAmazon Resource Name (ARN) of the destination Lambda function to write to.
roleArnstringARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination function on your behalf.

resourceArn

Type: string

Amazon Resource Name (ARN) of the destination Lambda function to write to.

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

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.