# WebFunctionAttributes

Attributes for importing an existing WebFunction.

- Source: [`aws-lambda/lib/webfunction.ts`](https://github.com/aws/aws-cdk/blob/v2.276.0/packages/aws-cdk-lib/aws-lambda/lib/webfunction.ts#L279)
- Type last changed: v2.276.0 · 10 Nov 2026

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

- `webFunctionArn`: string (required) — The ARN of the WebFunction.
