1 Answer
- Newest
- Most votes
- Most comments
0
To create an alarm in CDK that references a specific resourceType in AWS Config, you should include the resourceType as part of the dimensionsMap in the Metric object. This allows you to distinguish between metrics that have the same name but apply to different resource types.
Relevant content
- AWS OFFICIALUpdated a year ago

Thanks,
So in this scenario I should use dimensionsMap: { ResourceType: 'MyResourceType'} in this format?
If any examples on this, it would be good but I think I understand right.