Interface CfnService.MonitoringConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnService.MonitoringConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnService

@Stability(Stable) public static interface CfnService.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.services.ecs.*;
 MonitoringConfigurationProperty monitoringConfigurationProperty = MonitoringConfigurationProperty.builder()
         .metricConfigurations(List.of(MetricConfigurationProperty.builder()
                 .metricNames(List.of("metricNames"))
                 .resolutionSeconds(123)
                 .build()))
         .build();
 

See Also: