Skip to main content

delegated_services_for_accounts

Creates, updates, deletes, gets or lists a delegated_services_for_accounts resource.

Overview

Namedelegated_services_for_accounts
TypeResource
Idaws.organizations.delegated_services_for_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
delegation_enabled_datestring (date-time)The date that the account became a delegated administrator for this service.
service_principalstringThe name of an Amazon Web Services service that can request an operation for the specified service. 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_delegated_services_for_accountselectregionList the Amazon Web Services services for which the specified account is a delegated administrator. 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

List the Amazon Web Services services for which the specified account is a delegated administrator. You can only call this operation from the management account or a member account that is a delegated administrator.

SELECT
delegation_enabled_date,
service_principal
FROM aws.organizations.delegated_services_for_accounts
WHERE region = '{{ region }}' -- required
;