Skip to main content

aws_service_access_for_organizations

Creates, updates, deletes, gets or lists an aws_service_access_for_organizations resource.

Overview

Nameaws_service_access_for_organizations
TypeResource
Idaws.organizations.aws_service_access_for_organizations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
date_enabledstring (date-time)The date that the service principal was enabled for integration with Organizations.
service_principalstringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_aws_service_access_for_organizationselectregionReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;