EventSourceMappingMetricsConfig
The metrics configuration for your event source. Use this configuration object to define which metrics you want your event source mapping to produce.
Contents
- Metrics
-
The metrics you want your event source mapping to produce, including
EventCount,ErrorCount,KafkaMetrics.-
EventCountto receive metrics related to the number of events processed by your event source mapping. -
ErrorCount(Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing. -
KafkaMetrics(Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping.
For more information about these metrics, see Event source mapping metrics.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 3 items.
Valid Values:
EventCount | ErrorCount | KafkaMetricsRequired: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: