v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1434249272.1 KB

Creates a policy store alias for the specified policy store. A policy store alias is an alternative identifier that you can use to reference a policy store in API operations.

This operation is idempotent. If multiple CreatePolicyStoreAlias requests are made where the aliasName and policyStoreId fields are the same between the requests, subsequent requests will be ignored. For each duplicate CreatePolicyStoreAlias request, a Success response will be returned and a new policy store alias will not be created.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations.

post/#X-Amz-Target=VerifiedPermissions.CreatePolicyStoreAlias

Headers

X-Amz-Target'VerifiedPermissions.CreatePolicyStoreAlias' required

Request body

aliasNamestring required
<p>Specifies the name of the policy store alias to create. The name must be unique within your Amazon Web Services account and Amazon Web Services Region.</p> <note> <p>The alias name must always be prefixed with <code>policy-store-alias/</code>.</p> </note>
policyStoreIdstring required
<p>Specifies the ID of the policy store to associate with the alias.</p> <note> <p>The associated policy store must be specified using its ID. The alias name cannot be used.</p> </note>

Response

Success

aliasNamestring required

The name of the policy store alias.

policyStoreIdstring required

The ID of the policy store associated with the alias.

aliasArnstring required

The Amazon Resource Name (ARN) of the policy store alias.

createdAtstring date-time required

The date and time the policy store alias was created.