Annotation Type CloudEventMapping

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      EventAttribute[] attributes
      If there is an extra requirement to match against cloud event attributes to find the function to be triggered
      String responseSource
      If the function has output, this describes the cloud event source of the output event Defaults to function name
      String responseType
      If the function has output, this describes the cloud event type of the output event Defaults to {function}.output
      String trigger
      Defines the cloud event type that will trigger the function Defaults to function name
    • Element Detail

      • trigger

        String trigger
        Defines the cloud event type that will trigger the function Defaults to function name
        Returns:
        Default:
        ""
      • responseSource

        String responseSource
        If the function has output, this describes the cloud event source of the output event Defaults to function name
        Returns:
        Default:
        ""
      • responseType

        String responseType
        If the function has output, this describes the cloud event type of the output event Defaults to {function}.output
        Returns:
        Default:
        ""
      • attributes

        EventAttribute[] attributes
        If there is an extra requirement to match against cloud event attributes to find the function to be triggered
        Returns:
        Default:
        {}