Class CfnService.MetricConfigurationProperty
The configuration for a specific set of metrics to collect for a service.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnService.MetricConfigurationProperty : CfnService.IMetricConfigurationProperty
Syntax (vb)
Public Class CfnService.MetricConfigurationProperty Implements CfnService.IMetricConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var metricConfigurationProperty = new MetricConfigurationProperty {
MetricNames = new [] { "metricNames" },
ResolutionSeconds = 123
};
Synopsis
Constructors
| MetricConfigurationProperty() | The configuration for a specific set of metrics to collect for a service. |
Properties
| MetricNames | The list of metric names to configure. |
| ResolutionSeconds | The resolution, in seconds, at which to collect the metrics. |
Constructors
MetricConfigurationProperty()
The configuration for a specific set of metrics to collect for a service.
public MetricConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var metricConfigurationProperty = new MetricConfigurationProperty {
MetricNames = new [] { "metricNames" },
ResolutionSeconds = 123
};
Properties
MetricNames
The list of metric names to configure.
public string[] MetricNames { get; set; }
Property Value
string[]
Remarks
The supported metric names are CPUUtilization and MemoryUtilization.
ResolutionSeconds
The resolution, in seconds, at which to collect the metrics.
public double ResolutionSeconds { get; set; }