principals_for_portfolios
Creates, updates, deletes, gets or lists a principals_for_portfolios resource.
Overview
| Name | principals_for_portfolios |
| Type | Resource |
| Id | aws.servicecatalog.principals_for_portfolios |
Fields
The following fields are returned by SELECT queries:
- list_principals_for_portfolio
| Name | Datatype | Description |
|---|---|---|
principal_arn | string | The 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_type | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_principals_for_portfolio | select | region | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_principals_for_portfolio
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
;