OptionalcaptureColdStartMetric?: booleanWhether to capture a ColdStart metric.
OptionaldefaultDimensions?: DimensionsDefault dimensions to add to all metrics.
OptionalthrowOnEmptyMetrics?: booleanWhether to throw an error if no metrics are emitted.
Options to customize the behavior of the
logMetrics()decorator or Middy.js middleware.