open-constructs / aws-cdk-library

Community-Driven CDK Construct Library
Apache License 2.0
44 stars 6 forks source link

feat(aws-cur): add CostReport construct for AWS cost and usage reports #15

Closed hoegertn closed 3 weeks ago

hoegertn commented 4 weeks ago

This commit introduces the CostReport construct, allowing users to generate AWS Cost and Usage Reports with custom granularities and formats, and store them in S3 buckets.

Users can now define a cost report with optional properties such as the report name, S3 bucket, report format, and granularity. Default values are provided for each property if not specified.

The commit includes unit tests for different configurations of the cost report.

hoegertn commented 3 weeks ago

@mbonig @go-to-k I hope everything is ok now.

I also added a README.md for the module and fixed the export in the main index file