PermissionCondition - Amazon Q Business

PermissionCondition

Defines a condition that restricts when a permission is effective. Conditions allow you to control access based on specific attributes of the request.

Contents

conditionKey

The key for the condition. This identifies the attribute that the condition applies to.

Type: String

Pattern: aws:PrincipalTag/qbusiness-dataaccessor:[a-zA-Z]+.*

Required: Yes

conditionOperator

The operator to use for the condition evaluation. This determines how the condition values are compared.

Type: String

Valid Values: StringEquals

Required: Yes

conditionValues

The values to compare against using the specified condition operator.

Type: Array of strings

Array Members: Fixed number of 1 item.

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

Pattern: [a-zA-Z0-9][a-zA-Z0-9_-]*

Required: Yes

See Also

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