account_level_service_configurations
Creates, updates, deletes, gets or lists an account_level_service_configurations resource.
Overview
| Name | account_level_service_configurations |
| Type | Resource |
| Id | aws.resource_explorer_2.account_level_service_configurations |
Fields
The following fields are returned by SELECT queries:
- get_account_level_service_configuration
| Name | Datatype | Description |
|---|---|---|
aws_service_access_status | string | This value displays whether your Amazon Web Services service access is ENABLED or DISABLED. (ENABLED, DISABLED) |
service_linked_role | string | This value shows whether or not you have a valid a service-linked role required to start the multi-account search feature. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_account_level_service_configuration | select | region | Retrieves the status of your account's Amazon Web Services service access, and validates the service linked role required to access the multi-account search feature. Only the management account can invoke this API call. |
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_account_level_service_configuration
Retrieves the status of your account's Amazon Web Services service access, and validates the service linked role required to access the multi-account search feature. Only the management account can invoke this API call.
SELECT
aws_service_access_status,
service_linked_role
FROM aws.resource_explorer_2.account_level_service_configurations
WHERE region = '{{ region }}' -- required
;