Skip to main content

portfolio_access

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

Overview

Nameportfolio_access
TypeResource
Idaws.servicecatalog.portfolio_access

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idsarrayInformation about the Amazon Web Services accounts with access to the portfolio.
next_page_tokenstringThe page token to use to retrieve the next set of results. If there are no additional results, this value is null. (pattern: <code>[\u0009\u000a\u000d\u0020-\uD7FF\uE000-\uFFFD]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_portfolio_accessselectregionLists the account IDs that have access to the specified portfolio. A delegated admin can list the accounts that have access to the shared portfolio. Note that if a delegated admin is de-registered, they can no longer perform this operation.

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

Lists the account IDs that have access to the specified portfolio. A delegated admin can list the accounts that have access to the shared portfolio. Note that if a delegated admin is de-registered, they can no longer perform this operation.

SELECT
account_ids,
next_page_token
FROM aws.servicecatalog.portfolio_access
WHERE region = '{{ region }}' -- required
;