Metric

Metric(namespace, name)

Creates a Metric resource.:

metric = cloudwatch.Metric('namespace','name')
Parameters
  • namespace (string) -- The Metric's namespace identifier. This must be set.
  • name (string) -- The Metric's name identifier. This must be set.
Return type

CloudWatch.Metric

Returns

A Metric resource