directory_limits
Creates, updates, deletes, gets or lists a directory_limits resource.
Overview
| Name | directory_limits |
| Type | Resource |
| Id | aws.ds.directory_limits |
Fields
The following fields are returned by SELECT queries:
- get_directory_limits
| Name | Datatype | Description |
|---|---|---|
cloud_only_directories_current_count | integer | The current number of cloud directories in the Region. |
cloud_only_directories_limit | integer | The maximum number of cloud directories allowed in the Region. |
cloud_only_directories_limit_reached | boolean | Indicates if the cloud directory limit has been reached. |
cloud_only_microsoft_ad_current_count | integer | The current number of Managed Microsoft AD directories in the region. |
cloud_only_microsoft_ad_limit | integer | The maximum number of Managed Microsoft AD directories allowed in the region. |
cloud_only_microsoft_ad_limit_reached | boolean | Indicates if the Managed Microsoft AD directory limit has been reached. |
connected_directories_current_count | integer | The current number of connected directories in the Region. |
connected_directories_limit | integer | The maximum number of connected directories allowed in the Region. |
connected_directories_limit_reached | boolean | Indicates if the connected directory limit has been reached. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_directory_limits | select | region | Obtains directory limit information for the current Region. |
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_directory_limits
Obtains directory limit information for the current Region.
SELECT
cloud_only_directories_current_count,
cloud_only_directories_limit,
cloud_only_directories_limit_reached,
cloud_only_microsoft_ad_current_count,
cloud_only_microsoft_ad_limit,
cloud_only_microsoft_ad_limit_reached,
connected_directories_current_count,
connected_directories_limit,
connected_directories_limit_reached
FROM aws.ds.directory_limits
WHERE region = '{{ region }}' -- required
;