interface CloudWatchDimension
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DevOpsGuru.Events.DevOpsGuruNewRecommendationCreated.CloudWatchDimension |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdevopsguru/events#DevOpsGuruNewRecommendationCreated_CloudWatchDimension |
Java | software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruNewRecommendationCreated.CloudWatchDimension |
Python | aws_cdk.mixins_preview.aws_devopsguru.events.DevOpsGuruNewRecommendationCreated.CloudWatchDimension |
TypeScript | @aws-cdk/mixins-preview ยป aws_devopsguru ยป events ยป DevOpsGuruNewRecommendationCreated ยป CloudWatchDimension |
Type definition for CloudWatchDimension.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as devopsguru_events } from '@aws-cdk/mixins-preview/aws-devopsguru';
const cloudWatchDimension: devopsguru_events.DevOpsGuruNewRecommendationCreated.CloudWatchDimension = {
metricName: ['metricName'],
namespace: ['namespace'],
};
Properties
| Name | Type | Description |
|---|---|---|
| metric | string[] | metricName property. |
| namespace? | string[] | namespace property. |
metricName?
Type:
string[]
(optional, default: Do not filter on this field)
metricName property.
Specify an array of string values to match this event if the actual value of metricName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
namespace?
Type:
string[]
(optional, default: Do not filter on this field)
namespace property.
Specify an array of string values to match this event if the actual value of namespace is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript