CfnResourceMetricsConfigurationProps Struct Added in v2.274.0
Properties for defining a CfnResourceMetricsConfiguration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const cfnResourceMetricsConfigurationProps: cloudwatch.CfnResourceMetricsConfigurationProps = {
resourceArn: 'resourceArn',
// the properties below are optional
metricSelections: [{
includeMetrics: ['includeMetrics'],
}],
};
Properties
metricSelectionsoptionalIResolvable | IResolvable | CfnResourceMetricsConfiguration.ResourceMetricSelectionProperty[]metric_selectionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourceMetricSelectionProperty]]]metricSelectionsoptionalIResolvableMetricSelectionsoptionalIResolvableMetricSelectionsoptionalinterface{}#The metric selections that define which metrics are enabled for detailed monitoring on the resource.
The Amazon Resource Name (ARN) of the resource for which the detailed monitoring metrics configuration is managed.