Skip to main content

policy_store_aliases

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

Overview

Namepolicy_store_aliases
TypeResource
Idaws.verifiedpermissions.policy_store_aliases

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
alias_arnstringThe Amazon Resource Name (ARN) of the policy store alias. (pattern: <code>arn:[^:]:[^:]:[^:]:[^:]:.*</code>)
alias_namestringThe name of the policy store alias. (pattern: <code>[a-zA-Z0-9-/_]*</code>)
created_atstring (date-time)The date and time the policy store alias was created.
policy_store_idstringThe ID of the policy store associated with the alias. (pattern: <code>[a-zA-Z0-9-/_]*</code>)
statestringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_policy_store_aliasesselectregionReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;