Skip to main content

@reapit-cdk/service-quotas

npm version npm downloads coverage: 0%25 Integ Tests: X

This construct allows you to IaC your service quotas

Package Installation:

yarn add --dev @reapit-cdk/service-quotas
# or
npm install @reapit-cdk/service-quotas --save-dev

Usage

import { Stack, App } from 'aws-cdk-lib'
import { AWSService, AmazonCloudFrontQuota, ServiceQuotas } from '@reapit-cdk/service-quotas'

const app = new App()
const stack = new Stack(app, 'stack-name')
const quotas = new ServiceQuotas(stack, 'service-quotas', {
  // Fail the stack if your requests aren't granted yet
  failIfNotGranted: true,
  // Make another request if an existing one is denied
  rerequestWhenDenied: true,
})

quotas.requestQuota(
  // region
  'us-east-1',
  // service (use the AWSService.${Service} helper or specify the e.g. 'cloudfront' string as any)
  AWSService.AMAZON_CLOUD_FRONT,
  // quota (use the ${Service}Quota e.g. AmazonCloudFrontQuota helper or specify the 'LL-' string as any)
  AmazonCloudFrontQuota.CACHE_BEHAVIORS_PER_DISTRIBUTION,
  // desired value
  100,
)

Metadata

Release files for reapit-cdk.service-quotas 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reapit-cdk.service-quotas 0.1.2
File Size Uploaded Provenance Actions
reapit-cdk.service-quotas-0.1.2.tar.gz 718.5 kB Without provenance Details for reapit-cdk.service-quotas-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reapit-cdk.service-quotas 0.1.2
File Interpreter ABI Platform Actions
reapit_cdk.service_quotas-0.1.2-py3-none-any.whl Python 3 none any Details for reapit_cdk.service_quotas-0.1.2-py3-none-any.whl

Total release size: 1.4 MB

Release files / reapit-cdk.service-quotas-0.1.2.tar.gz

Download URL reapit-cdk.service-quotas-0.1.2.tar.gz
Size 718.5 kB
Tags Source
SHA-256 checksum
How to use checksums
83779790919c0911551e98e1009c20fd2d34632530d64c293907fd472f0b5a39
BLAKE2b-256 checksum
How to use checksums
dfe6d18413066f92a5c8ddff55f9d050d80f3174312a21c8d0151babab516c7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / reapit_cdk.service_quotas-0.1.2-py3-none-any.whl

Download URL reapit_cdk.service_quotas-0.1.2-py3-none-any.whl
Size 717.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c9cd96d0e1b808ca80ff5fff9f9cc7e24642de6bc2e2a2152371db80fe1c26c
BLAKE2b-256 checksum
How to use checksums
67ec11171de5564b0febce877bc09f880722d26dfff4c7d179cf18f3c53973e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Security for reapit-cdk.service-quotas 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page