View a markdown version of this page

AccessRuleCondition - AWS Amplify

AccessRuleCondition

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

Contents

Key

The name of the user claim to evaluate.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: Yes

Value

The value to compare the claim against.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: Yes

Operator

The operator used to compare the claim value.

Type: String

Valid Values: EQUALS | CONTAINS | BEGINS_WITH | ENDS_WITH

Required: No

See Also

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