aws_service_access_for_organizations
Creates, updates, deletes, gets or lists an aws_service_access_for_organizations resource.
Overview
| Name | aws_service_access_for_organizations |
| Type | Resource |
| Id | aws.organizations.aws_service_access_for_organizations |
Fields
The following fields are returned by SELECT queries:
- list_aws_service_access_for_organization
| Name | Datatype | Description |
|---|---|---|
date_enabled | string (date-time) | The date that the service principal was enabled for integration with Organizations. |
service_principal | string | The name of the service principal. This is typically in the form of a URL, such as: servicename.amazonaws.com. (pattern: <code>[\w+=,.@-]*</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_aws_service_access_for_organization | select | region | Returns a list of the Amazon Web Services services that you enabled to integrate with your organization. After a service on this list creates the resources that it requires for the integration, it can perform operations on your organization and its accounts. For more information about integrating other services with Organizations, including the list of services that currently work with Organizations, see Using Organizations with other Amazon Web Services services in the Organizations User Guide. You can only call this operation from the management account or a member account that is a delegated administrator. |
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
- list_aws_service_access_for_organization
Returns a list of the Amazon Web Services services that you enabled to integrate with your organization. After a service on this list creates the resources that it requires for the integration, it can perform operations on your organization and its accounts. For more information about integrating other services with Organizations, including the list of services that currently work with Organizations, see Using Organizations with other Amazon Web Services services in the Organizations User Guide. You can only call this operation from the management account or a member account that is a delegated administrator.
SELECT
date_enabled,
service_principal
FROM aws.organizations.aws_service_access_for_organizations
WHERE region = '{{ region }}' -- required
;