Skip to main content

principals_for_portfolios

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

Overview

Nameprincipals_for_portfolios
TypeResource
Idaws.servicecatalog.principals_for_portfolios

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
principal_arnstringThe ARN of the principal (user, role, or group). This field allows for an ARN with no accountID, with or without wildcard characters if the PrincipalType is an IAM_PATTERN. For more information, review associate-principal-with-portfolio in the Amazon Web Services CLI Command Reference.
principal_typestringThe principal type. The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you use an ARN with no accountID, with or without wildcard characters. (IAM, IAM_PATTERN)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_principals_for_portfolioselectregionLists all PrincipalARNs and corresponding PrincipalTypes associated with the specified portfolio.

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 all PrincipalARNs and corresponding PrincipalTypes associated with the specified portfolio.

SELECT
principal_arn,
principal_type
FROM aws.servicecatalog.principals_for_portfolios
WHERE region = '{{ region }}' -- required
;