Condition class

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"}'

Constructors

Condition({required String key, required String type, required String value})

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Specifies the type of condition. Currently the only supported value is StringEquals.
final
value String
Specifies the value for the key. Currently, this must be the ID of the organization.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited