aws_default_service_quotas
Creates, updates, deletes, gets or lists an aws_default_service_quotas resource.
Overview
| Name | aws_default_service_quotas |
| Type | Resource |
| Id | aws.service_quotas.aws_default_service_quotas |
Fields
The following fields are returned by SELECT queries:
- get_aws_default_service_quota
- list_aws_default_service_quotas
| Name | Datatype | Description |
|---|---|---|
adjustable | boolean | Indicates whether the quota value can be increased. |
description | string | The quota description. (pattern: <code>^.{0,350}$</code>) |
error_reason | object | The error code and error reason. |
global_quota | boolean | Indicates whether the quota is global. |
period | object | The period of time. |
quota_applied_at_level | string | Filters the response to return applied quota values for the ACCOUNT, RESOURCE, or ALL levels. ACCOUNT is the default. (ACCOUNT, RESOURCE, ALL) |
quota_arn | string | The Amazon Resource Name (ARN) of the quota. |
quota_code | string | Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want. (pattern: <code>[a-zA-Z][a-zA-Z0-9-]{1,128}</code>) |
quota_context | object | The context for this service quota. |
quota_name | string | Specifies the quota name. |
service_code | string | Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation. (pattern: <code>[a-zA-Z][a-zA-Z0-9-]{1,63}</code>) |
service_name | string | Specifies the service name. |
unit | string | The unit of measurement. |
usage_metric | object | Information about the measurement. |
value | number (double) | The quota value. |
| Name | Datatype | Description |
|---|---|---|
adjustable | boolean | Indicates whether the quota value can be increased. |
description | string | The quota description. (pattern: <code>^.{0,350}$</code>) |
error_reason | object | The error code and error reason. |
global_quota | boolean | Indicates whether the quota is global. |
period | object | The period of time. |
quota_applied_at_level | string | Filters the response to return applied quota values for the ACCOUNT, RESOURCE, or ALL levels. ACCOUNT is the default. (ACCOUNT, RESOURCE, ALL) |
quota_arn | string | The Amazon Resource Name (ARN) of the quota. |
quota_code | string | Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want. (pattern: <code>[a-zA-Z][a-zA-Z0-9-]{1,128}</code>) |
quota_context | object | The context for this service quota. |
quota_name | string | Specifies the quota name. |
service_code | string | Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation. (pattern: <code>[a-zA-Z][a-zA-Z0-9-]{1,63}</code>) |
service_name | string | Specifies the service name. |
unit | string | The unit of measurement. |
usage_metric | object | Information about the measurement. |
value | number (double) | The quota value. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_aws_default_service_quota | select | region | Retrieves the default value for the specified quota. The default value does not reflect any quota increases. | |
list_aws_default_service_quotas | select | region | Lists the default values for the quotas for the specified Amazon Web Services service. A default value does not reflect any quota increases. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_aws_default_service_quota
- list_aws_default_service_quotas
Retrieves the default value for the specified quota. The default value does not reflect any quota increases.
SELECT
adjustable,
description,
error_reason,
global_quota,
period,
quota_applied_at_level,
quota_arn,
quota_code,
quota_context,
quota_name,
service_code,
service_name,
unit,
usage_metric,
value
FROM aws.service_quotas.aws_default_service_quotas
WHERE region = '{{ region }}' -- required
;
Lists the default values for the quotas for the specified Amazon Web Services service. A default value does not reflect any quota increases.
SELECT
adjustable,
description,
error_reason,
global_quota,
period,
quota_applied_at_level,
quota_arn,
quota_code,
quota_context,
quota_name,
service_code,
service_name,
unit,
usage_metric,
value
FROM aws.service_quotas.aws_default_service_quotas
WHERE region = '{{ region }}' -- required
;