aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

(aws-appsync): Add Enhanced Metrics configuration to CDK

Open piotrmoszkowicz opened this issue 10 months ago • 8 comments

Describe the feature

AWS AppSync some time ago introduced enhanced monitoring (https://docs.aws.amazon.com/appsync/latest/devguide/monitoring.html -> Enhanced Metrics), which allows to collect metrics at resolver/operation/data source leve. It is added within the CloudFormation (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html -> EnhancedMetricsConfig), so I think it would be great feature within CDK. I will be happy to implement it, maybe even within end of the week ;)

Use Case

Ability to configure AWS AppSync with Enhanced Monitoring.

Proposed Solution

Add missing property to AppSync's L2 construct and map it properly to AWS CloudFormation.

Other Information

No response

Acknowledgements

  • [X] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

CDK version used

2.138.0

Environment details (OS name and version, etc.)

MacOS Ventura

piotrmoszkowicz avatar Apr 23 '24 11:04 piotrmoszkowicz