

# HandlerConfigs
<a name="API_HandlerConfigs"></a>

The configuration for the `OnPublish` and `OnSubscribe` handlers.

## Contents
<a name="API_HandlerConfigs_Contents"></a>

 ** onPublish **   <a name="appsync-Type-HandlerConfigs-onPublish"></a>
The configuration for the `OnPublish` handler.  
Type: [HandlerConfig](API_HandlerConfig.md) object  
Required: No

 ** onSubscribe **   <a name="appsync-Type-HandlerConfigs-onSubscribe"></a>
The configuration for the `OnSubscribe` handler.  
Type: [HandlerConfig](API_HandlerConfig.md) object  
Required: No

## See Also
<a name="API_HandlerConfigs_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/appsync-2017-07-25/HandlerConfigs) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appsync-2017-07-25/HandlerConfigs) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appsync-2017-07-25/HandlerConfigs) 