interface HandlerConfigsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppSync.CfnChannelNamespacePropsMixin.HandlerConfigsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappsync#CfnChannelNamespacePropsMixin_HandlerConfigsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnChannelNamespacePropsMixin.HandlerConfigsProperty |
Python | aws_cdk.cfn_property_mixins.aws_appsync.CfnChannelNamespacePropsMixin.HandlerConfigsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appsync » 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 { aws_appsync as appsync } from '@aws-cdk/cfn-property-mixins';
const handlerConfigsProperty: appsync.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