Skip to content
v2.276.0

WebFunctionAttributes Struct Added in v2.276.0 ​

Attributes for importing an existing WebFunction.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const webFunctionAttributes: lambda.WebFunctionAttributes = {
  webFunctionArn: 'webFunctionArn',
};

Properties ​

webFunctionArnstringweb_function_arnstrwebFunctionArnStringWebFunctionArnstringWebFunctionArn*stringrequired#
The ARN of the WebFunction.