customer_managed_policy_references_in_permission_sets
Creates, updates, deletes, gets or lists a customer_managed_policy_references_in_permission_sets resource.
Overview
| Name | customer_managed_policy_references_in_permission_sets |
| Type | Resource |
| Id | aws.sso_admin.customer_managed_policy_references_in_permission_sets |
Fields
The following fields are returned by SELECT queries:
- list_customer_managed_policy_references_in_permission_set
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the IAM policy that you have configured in each account where you want to deploy your permission set. (pattern: <code>[\w+=,.@-]+</code>) |
path | string | The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is /. For more information, see Friendly names and paths in the IAM User Guide. (pattern: <code>((/[A-Za-z0-9.,+@=_-]+)*)/</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_customer_managed_policy_references_in_permission_set | select | region | Lists all customer managed policies attached to a specified PermissionSet. |
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_customer_managed_policy_references_in_permission_set
Lists all customer managed policies attached to a specified PermissionSet.
SELECT
name,
path
FROM aws.sso_admin.customer_managed_policy_references_in_permission_sets
WHERE region = '{{ region }}' -- required
;