Interface CfnServicePropsMixin.MonitoringConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServicePropsMixin.MonitoringConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnServicePropsMixin
@Stability(Stable)
public static interface CfnServicePropsMixin.MonitoringConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The optional monitoring configuration for a service, which defines the resolution for the service-level
CPUUtilization and MemoryUtilization Amazon CloudWatch metrics.
When not specified, Amazon ECS uses the default resolution of 60 seconds.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ecs.*;
MonitoringConfigurationProperty monitoringConfigurationProperty = MonitoringConfigurationProperty.builder()
.metricConfigurations(List.of(MetricConfigurationProperty.builder()
.metricNames(List.of("metricNames"))
.resolutionSeconds(123)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServicePropsMixin.MonitoringConfigurationPropertystatic final classAn implementation forCfnServicePropsMixin.MonitoringConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricConfigurations
The list of metric configurations for the service monitoring.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnServicePropsMixin.MetricConfigurationProperty>- See Also:
-
builder
-