interface HandlerConfigsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppSync.Mixins.CfnChannelNamespacePropsMixin.HandlerConfigsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappsync/mixins#CfnChannelNamespacePropsMixin_HandlerConfigsProperty |
Java | software.amazon.awscdk.mixins.preview.services.appsync.mixins.CfnChannelNamespacePropsMixin.HandlerConfigsProperty |
Python | aws_cdk.mixins_preview.aws_appsync.mixins.CfnChannelNamespacePropsMixin.HandlerConfigsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appsync » mixins » CfnChannelNamespacePropsMixin » 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 { mixins as appsync_mixins } from '@aws-cdk/mixins-preview/aws-appsync';
const handlerConfigsProperty: appsync_mixins.CfnChannelNamespacePropsMixin.HandlerConfigsProperty = {
onPublish: {
behavior: 'behavior',
integration: {
dataSourceName: 'dataSourceName',
lambdaConfig: {
invokeType: 'invokeType',
},
},
},
onSubscribe: {
behavior: 'behavior',
integration: {
dataSourceName: 'dataSourceName',
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