# CfnEventInvokeConfigPropsMixin

The `AWS::Lambda::EventInvokeConfig` resource configures options for [asynchronous invocation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html) on a version or an alias.

By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it.

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

- CloudFormation: [`AWS::Lambda::EventInvokeConfig`](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-lambda-eventinvokeconfig.html)
- Source: Generated at build time
- Type last changed: v2.269.0 · 16 Sep 2026

## Initializer

TypeScript:

```ts
new CfnEventInvokeConfigPropsMixin(props: CfnEventInvokeConfigMixinProps, options?: CfnPropertyMixinOptions)
```

Python:

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

Java:

```java
new CfnEventInvokeConfigPropsMixin(CfnEventInvokeConfigMixinProps props, CfnPropertyMixinOptions options)
```

C# / .NET:

```csharp
new CfnEventInvokeConfigPropsMixin(CfnEventInvokeConfigMixinProps props, CfnPropertyMixinOptions? options = null)
```

Golang:

```go
NewCfnEventInvokeConfigPropsMixin(Props CfnEventInvokeConfigMixinProps, 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.
