View a markdown version of this page

AccessControlRule - AWS Amplify

AccessControlRule

A rule that determines which authenticated users can access deployments that require sign-in.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

AnyAuthenticatedUser

Admits any user who signs in successfully.

Type: Structure

Required: No

UserClaims

Admits users whose token claims match any one of the specified conditions. The conditions are combined with OR, so a single match admits the user, and adding conditions widens access.

Type: Array of AccessRuleCondition objects

Array Members: Minimum number of 1 item. Maximum number of 25 items.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: