# CfnWebFunctionPropsMixin

Resource Type definition for AWS::Lambda::WebFunction.

Creates a Lambda Web function container.

Extends: [Mixin](/cdk/api/v2/docs/aws-cdk-lib.Mixin.html) › CfnWebFunctionPropsMixin
Implements: [IMixin](/cdk/api/v2/docs/constructs.IMixin.html)

- CloudFormation: [`AWS::Lambda::WebFunction`](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-lambda-webfunction.html)
- Source: Generated at build time
- Type last changed: v2.273.0 · 9 Oct 2026

## Initializer

TypeScript:

```ts
new CfnWebFunctionPropsMixin(props: CfnWebFunctionMixinProps, options?: CfnPropertyMixinOptions)
```

Python:

```python
CfnWebFunctionPropsMixin(props: CfnWebFunctionMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
```

Java:

```java
new CfnWebFunctionPropsMixin(CfnWebFunctionMixinProps props, CfnPropertyMixinOptions options)
```

C# / .NET:

```csharp
new CfnWebFunctionPropsMixin(CfnWebFunctionMixinProps props, CfnPropertyMixinOptions? options = null)
```

Golang:

```go
NewCfnWebFunctionPropsMixin(Props CfnWebFunctionMixinProps, Options CfnPropertyMixinOptions)
```

## Methods

- `applyTo(construct: IConstruct): void` — Apply the mixin properties to the construct.

- `isMixin(x: any): boolean` (static) — Checks if `x` is a Mixin.

  **Parameters**

  - `x` — Any object.

  **Returns:** true if `x` is an object created from a class which extends `Mixin`.

- `supports(construct: IConstruct): boolean` — Check if this mixin supports the given construct.
