Condition - Amazon EventBridge
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Condition

A JSON string which you can use to limit the event bus permissions you are granting to only accounts that fulfill the condition. Currently, the only supported condition is membership in a certain AWS organization. The string must contain Type, Key, and Value fields. The Value field specifies the ID of the AWS organization. Following is an example value for Condition:

'{"Type" : "StringEquals", "Key": "aws:PrincipalOrgID", "Value": "o-1234567890"}'

Contents

Key

Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.

Type: String

Required: Yes

Type

Specifies the type of condition. Currently the only supported value is StringEquals.

Type: String

Required: Yes

Value

Specifies the value for the key. Currently, this must be the ID of the organization.

Type: String

Required: Yes

See Also

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