![]() |
![]()
| ![]() |
![]()
NAMEPaws::CloudWatchEvents::Condition USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::CloudWatchEvents::Condition object: $service_obj->Method(Att1 => { Key => $value, ..., Value => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchEvents::Condition object: $result = $service_obj->Method(...); $result->Att1->Key DESCRIPTIONA 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"}' ATTRIBUTESREQUIRED Key => StrSpecifies the key for the condition. Currently the only supported key is "aws:PrincipalOrgID". REQUIRED Type => StrSpecifies the type of condition. Currently the only supported value is "StringEquals". REQUIRED Value => StrSpecifies the value for the key. Currently, this must be the ID of the organization. SEE ALSOThis class forms part of Paws, describing an object used in Paws::CloudWatchEvents BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|