Interface CfnService.MetricConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnService.MetricConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnService
@Stability(Stable)
public static interface CfnService.MetricConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for a specific set of metrics to collect for a service.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
MetricConfigurationProperty metricConfigurationProperty = MetricConfigurationProperty.builder()
.metricNames(List.of("metricNames"))
.resolutionSeconds(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnService.MetricConfigurationPropertystatic final classAn implementation forCfnService.MetricConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The list of metric names to configure.The resolution, in seconds, at which to collect the metrics.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricNames
The list of metric names to configure.The supported metric names are
CPUUtilizationandMemoryUtilization.- See Also:
-
getResolutionSeconds
The resolution, in seconds, at which to collect the metrics.The valid values are
20and60.- See Also:
-
builder
-