interface HandlerConfigsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppSync.CfnChannelNamespace.HandlerConfigsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CfnChannelNamespace_HandlerConfigsProperty |
Java | software.amazon.awscdk.services.appsync.CfnChannelNamespace.HandlerConfigsProperty |
Python | aws_cdk.aws_appsync.CfnChannelNamespace.HandlerConfigsProperty |
TypeScript | aws-cdk-lib » aws_appsync » CfnChannelNamespace » HandlerConfigsProperty |
The HandlerConfigs property type specifies the configuration for the OnPublish and OnSubscribe handlers.
Example
// 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 handlerConfigsProperty: appsync.CfnChannelNamespace.HandlerConfigsProperty = {
onPublish: {
behavior: 'behavior',
integration: {
dataSourceName: 'dataSourceName',
// the properties below are optional
lambdaConfig: {
invokeType: 'invokeType',
},
},
},
onSubscribe: {
behavior: 'behavior',
integration: {
dataSourceName: 'dataSourceName',
// the properties below are optional
lambdaConfig: {
invokeType: 'invokeType',
},
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| on | IResolvable | Handler | The configuration for the OnPublish handler. |
| on | IResolvable | Handler | The configuration for the OnSubscribe handler. |
onPublish?
Type:
IResolvable | Handler
(optional)
The configuration for the OnPublish handler.
onSubscribe?
Type:
IResolvable | Handler
(optional)
The configuration for the OnSubscribe handler.

.NET
Go
Java
Python
TypeScript