interface MonitoringConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ECS.CfnServicePropsMixin.MonitoringConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsecs#CfnServicePropsMixin_MonitoringConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.MonitoringConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_ecs.CfnServicePropsMixin.MonitoringConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ecs » CfnServicePropsMixin » MonitoringConfigurationProperty |
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 { aws_ecs as ecs } from '@aws-cdk/cfn-property-mixins';
const monitoringConfigurationProperty: ecs.CfnServicePropsMixin.MonitoringConfigurationProperty = {
metricConfigurations: [{
metricNames: ['metricNames'],
resolutionSeconds: 123,
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| metric | IResolvable | (IResolvable | Metric)[] | The list of metric configurations for the service monitoring. |
metricConfigurations?
Type:
IResolvable | (IResolvable | Metric)[]
(optional)
The list of metric configurations for the service monitoring.

.NET
Go
Java
Python
TypeScript