{"id":45919806,"url":"https://github.com/time-loop/cdk-lambda-eni-usage-metric-publisher","last_synced_at":"2026-02-28T08:36:26.545Z","repository":{"id":196938572,"uuid":"697481017","full_name":"time-loop/cdk-lambda-eni-usage-metric-publisher","owner":"time-loop","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-19T00:54:48.000Z","size":2514,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":19,"default_branch":"main","last_synced_at":"2026-02-19T06:53:01.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/time-loop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-27T20:19:35.000Z","updated_at":"2025-11-17T20:45:08.000Z","dependencies_parsed_at":"2024-04-08T01:30:29.894Z","dependency_job_id":"dcad6602-4e9c-4d82-a20b-78df738cd442","html_url":"https://github.com/time-loop/cdk-lambda-eni-usage-metric-publisher","commit_stats":null,"previous_names":["time-loop/cdk-lambda-eni-usage-metric-publisher"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/time-loop/cdk-lambda-eni-usage-metric-publisher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/time-loop%2Fcdk-lambda-eni-usage-metric-publisher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/time-loop%2Fcdk-lambda-eni-usage-metric-publisher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/time-loop%2Fcdk-lambda-eni-usage-metric-publisher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/time-loop%2Fcdk-lambda-eni-usage-metric-publisher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/time-loop","download_url":"https://codeload.github.com/time-loop/cdk-lambda-eni-usage-metric-publisher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/time-loop%2Fcdk-lambda-eni-usage-metric-publisher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29928996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-28T08:36:24.878Z","updated_at":"2026-02-28T08:36:26.522Z","avatar_url":"https://github.com/time-loop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LambdaEniUsageMetricPublisher\nA construct that creates an AWS Lambda function to publish ENI usage metrics to CloudWatch.\n\n## Usage\nTo use the `LambdaEniUsageMetricPublisher` construct, simply import it into your AWS CDK stack and create a new instance of the construct:\n\n``` ts\nimport { Stack } from 'aws-cdk-lib';\nimport { LambdaEniUsageMetricPublisher } from './lambda-eni-usage-metric-publisher';\n\nconst stack = new Stack(app, 'MyStack');\n\nnew LambdaEniUsageMetricPublisher(stack, 'MyLambdaEniUsageMetricPublisher', {\n  publishFrequency: 5,\n  regions: ['us-east-1', 'us-west-2'],\n  cwNamespace: 'MyNamespace',\n});\n```\n\nThis will create a new AWS Lambda function that publishes ENI usage metrics to CloudWatch every 5 minutes for the `us-east-1` and `us-west-2` regions, using the `MyNamespace` namespace.\n\n## API\n`LambdaEniUsageMetricPublisher(scope: Construct, id: string, props: LambdaEniUsageMetricPublisherProps)`\n\nCreates a new instance of the `LambdaEniUsageMetricPublisher` construct.\n\n### Parameters\n- `scope` - The parent construct.\n- `id` - The ID of the construct.\n- `props` - The properties of the construct.\n\n### Properties\n- `publishFrequency` - The time interval (in minutes) that the Lambda function will be triggered to publish metrics to CloudWatch.\n- `regions` - The list of AWS regions to publish ENI usage metrics for.\n- `handler` - The AWS Lambda function that publishes ENI usage metrics to CloudWatch.\n- `rule` - The CloudWatch Events rule that triggers the Lambda function to publish metrics to CloudWatch.\n- `cwNamespace` - The CloudWatch namespace to publish metrics to.\n\n## License\nThis library is licensed under the Apache 2.0 License. See the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftime-loop%2Fcdk-lambda-eni-usage-metric-publisher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftime-loop%2Fcdk-lambda-eni-usage-metric-publisher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftime-loop%2Fcdk-lambda-eni-usage-metric-publisher/lists"}