

# AccessRuleCondition

A condition that a user's claims must satisfy to be granted access.

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

 ** Key **   <a name="amplifygen3-Type-AccessRuleCondition-Key"></a>
The name of the user claim to evaluate.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: Yes

 ** Value **   <a name="amplifygen3-Type-AccessRuleCondition-Value"></a>
The value to compare the claim against.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Required: Yes

 ** Operator **   <a name="amplifygen3-Type-AccessRuleCondition-Operator"></a>
The operator used to compare the claim value.  
Type: String  
Valid Values: `EQUALS | CONTAINS | BEGINS_WITH | ENDS_WITH`   
Required: No

## See Also
<a name="API_AccessRuleCondition_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/AccessRuleCondition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/amplifygen3-2025-09-18/AccessRuleCondition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/amplifygen3-2025-09-18/AccessRuleCondition) 