@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:26.216Z") @Stability(value=Experimental) public interface MetricProps extends software.amazon.jsii.JsiiSerializable, CommonMetricOptions
Example:
HostedZone hostedZone = HostedZone.Builder.create(this, "MyHostedZone").zoneName("example.org").build();
Metric metric = Metric.Builder.create()
.namespace("AWS/Route53")
.metricName("DNSQueries")
.dimensionsMap(Map.of(
"HostedZoneId", hostedZone.getHostedZoneId()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MetricProps.Builder
A builder for
MetricProps |
static class |
MetricProps.Jsii$Proxy
An implementation for
MetricProps |
| Modifier and Type | Method and Description |
|---|---|
static MetricProps.Builder |
builder() |
String |
getMetricName()
(experimental) Name of the metric.
|
String |
getNamespace()
(experimental) Namespace of the metric.
|
getAccount, getColor, getDimensions, getDimensionsMap, getLabel, getPeriod, getRegion, getStatistic, getUnit@Stability(value=Experimental) @NotNull String getMetricName()
@Stability(value=Experimental) @NotNull String getNamespace()
@Stability(value=Experimental) static MetricProps.Builder builder()
builder in interface CommonMetricOptionsMetricProps.Builder of MetricPropsCopyright © 2022. All rights reserved.