View a markdown version of this page

AWS::VerifiedPermissions::PolicyStoreAlias - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::VerifiedPermissions::PolicyStoreAlias

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.

Note

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.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::VerifiedPermissions::PolicyStoreAlias", "Properties" : { "AliasName" : String, "PolicyStoreId" : String } }

YAML

Type: AWS::VerifiedPermissions::PolicyStoreAlias Properties: AliasName: String PolicyStoreId: String

Properties

AliasName

The name of the policy store alias.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9-_/]*$

Minimum: 1

Maximum: 150

Update requires: Replacement

PolicyStoreId

The ID of the policy store associated with the alias.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9-]*$

Minimum: 1

Maximum: 200

Update requires: Replacement

Return values

Ref