class Aws::EventBridge::Types::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 Web Services organization. The string must contain `Type`, `Key`, and `Value` fields. The `Value` field specifies the ID of the Amazon Web Services organization. Following is an example value for `Condition`:
`'{“Type” : “StringEquals”, “Key”: “aws:PrincipalOrgID”, “Value”: “o-1234567890”}'`
@note When making an API call, you may pass Condition
data as a hash: { type: "String", # required key: "String", # required value: "String", # required }
@!attribute [rw] type
Specifies the type of condition. Currently the only supported value is `StringEquals`. @return [String]
@!attribute [rw] key
Specifies the key for the condition. Currently the only supported key is `aws:PrincipalOrgID`. @return [String]
@!attribute [rw] value
Specifies the value for the key. Currently, this must be the ID of the organization. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/Condition AWS API Documentation
Constants
- SENSITIVE