Interface CfnChannelNamespace.HandlerConfigsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnChannelNamespace.HandlerConfigsProperty.Jsii$Proxy
Enclosing class:
CfnChannelNamespace

@Stability(Stable) public static interface CfnChannelNamespace.HandlerConfigsProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.appsync.*;
 HandlerConfigsProperty handlerConfigsProperty = HandlerConfigsProperty.builder()
         .onPublish(HandlerConfigProperty.builder()
                 .behavior("behavior")
                 .integration(IntegrationProperty.builder()
                         .dataSourceName("dataSourceName")
                         // the properties below are optional
                         .lambdaConfig(LambdaConfigProperty.builder()
                                 .invokeType("invokeType")
                                 .build())
                         .build())
                 .build())
         .onSubscribe(HandlerConfigProperty.builder()
                 .behavior("behavior")
                 .integration(IntegrationProperty.builder()
                         .dataSourceName("dataSourceName")
                         // the properties below are optional
                         .lambdaConfig(LambdaConfigProperty.builder()
                                 .invokeType("invokeType")
                                 .build())
                         .build())
                 .build())
         .build();
 

See Also: