Condition - Amazon EventBridge
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon organization. The string must contain Type, Key, and Value fields. The Value field specifies the ID of the Amazon 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 Amazon SDKs, see the following: