AWS::Lambda::EventSourceMapping MetricsConfig - AWS CloudFormation (original) (raw)

The metrics configuration for your event source. Use this configuration object to define which metrics you want your event source mapping to produce.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
  "Metrics" : [ String, ... ]
}

Properties

Metrics

The metrics you want your event source mapping to produce. Include EventCount to receive event source mapping metrics related to the number of events processed by your event source mapping. For more information about these metrics, see Event source mapping metrics.

Required: No

Type: Array of String

Allowed values: EventCount

Minimum: 0

Maximum: 1

Update requires: No interruption

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.