Skip to content

Data Source: awsServicequotasServiceQuota

Retrieve information about a Service Quota.

\~> NOTE: Global quotas apply to all AWS regions, but can only be accessed in usEast1 in the Commercial partition or usGovWest1 in the GovCloud partition. In other regions, the AWS API will return the error theRequestFailedBecauseTheSpecifiedServiceDoesNotExist

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsServicequotasServiceQuota.DataAwsServicequotasServiceQuota(
  this,
  "by_quota_code",
  {
    quotaCode: "L-F678F1CE",
    serviceCode: "vpc",
  }
);
new aws.dataAwsServicequotasServiceQuota.DataAwsServicequotasServiceQuota(
  this,
  "by_quota_name",
  {
    quotaName: "VPCs per Region",
    serviceCode: "vpc",
  }
);

Argument Reference

\~> NOTE: Either quotaCode or quotaName must be configured.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • adjustable - Whether the service quota is adjustable.
  • arn - ARN of the service quota.
  • defaultValue - Default value of the service quota.
  • globalQuota - Whether the service quota is global for the AWS account.
  • id - ARN of the service quota.
  • serviceName - Name of the service.
  • value - Current value of the service quota.