AWS::Lambda::EventSourceMapping MetricsConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Lambda::EventSourceMapping MetricsConfig

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 Amazon CloudFormation template, use the following syntax:

JSON

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

YAML

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