

# AccessControlRule

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

## Contents
<a name="API_AccessControlRule_Contents"></a>

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

 ** AnyAuthenticatedUser **   <a name="amplifygen3-Type-AccessControlRule-AnyAuthenticatedUser"></a>
Admits any user who signs in successfully.  
Type: Structure  
Required: No

 ** UserClaims **   <a name="amplifygen3-Type-AccessControlRule-UserClaims"></a>
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](API_AccessRuleCondition.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 25 items.  
Required: No

## See Also
<a name="API_AccessControlRule_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/amplifygen3-2025-09-18/AccessControlRule) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/amplifygen3-2025-09-18/AccessControlRule) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/amplifygen3-2025-09-18/AccessControlRule) 