# HandlerConfigProperty

The `HandlerConfig` property type specifies the configuration for the handler.

- Source: Generated code
- Type last changed: v2.193.0 · 30 Apr 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const handlerConfigProperty: appsync.CfnChannelNamespace.HandlerConfigProperty = {
  behavior: 'behavior',
  integration: {
    dataSourceName: 'dataSourceName',

    // the properties below are optional
    lambdaConfig: {
      invokeType: 'invokeType',
    },
  },
};
```

## Properties

- `behavior`: string (required) — The behavior for the handler.

- `integration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnChannelNamespace.IntegrationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appsync.CfnChannelNamespace.IntegrationProperty.html) (required) — The integration data source configuration for the handler.
