AWS::Lambda::EventSourceMapping MetricsConfig - AWS CloudFormation

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 AWS 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