policy_store_aliases
Creates, updates, deletes, gets or lists a policy_store_aliases resource.
Overview
| Name | policy_store_aliases |
| Type | Resource |
| Id | aws.verifiedpermissions.policy_store_aliases |
Fields
The following fields are returned by SELECT queries:
- list_policy_store_aliases
| Name | Datatype | Description |
|---|---|---|
alias_arn | string | The Amazon Resource Name (ARN) of the policy store alias. (pattern: <code>arn:[^:]:[^:]:[^:]:[^:]:.*</code>) |
alias_name | string | The name of the policy store alias. (pattern: <code>[a-zA-Z0-9-/_]*</code>) |
created_at | string (date-time) | The date and time the policy store alias was created. |
policy_store_id | string | The ID of the policy store associated with the alias. (pattern: <code>[a-zA-Z0-9-/_]*</code>) |
state | string | The state of the policy store alias. Policy Store Aliases in the Active state can be used normally. When a policy store alias is deleted, it enters the PendingDeletion state. Policy Store Aliases in the PendingDeletion state cannot be used, and creating a policy store alias with the same alias name will fail. (Active, PendingDeletion) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_policy_store_aliases | select | region | Returns a paginated list of all policy store aliases in the calling Amazon Web Services account. |
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_policy_store_aliases
Returns a paginated list of all policy store aliases in the calling Amazon Web Services account.
SELECT
alias_arn,
alias_name,
created_at,
policy_store_id,
state
FROM aws.verifiedpermissions.policy_store_aliases
WHERE region = '{{ region }}' -- required
;