Skip to content
v2.275.0

HandlerConfigProperty Struct ​

The HandlerConfig property type specifies the configuration for the handler.

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 ​

behaviorstringbehaviorstrbehaviorStringBehaviorstringBehavior*stringrequired#
The behavior for the handler.
integrationIResolvable | CfnChannelNamespace.IntegrationPropertyintegrationtyping.Union[IResolvable, IntegrationProperty]integrationIResolvableIntegrationIResolvableIntegrationinterface{}required#
The integration data source configuration for the handler.