The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::CloudWatchEvents::Condition

USAGE

This 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

DESCRIPTION

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

ATTRIBUTES

REQUIRED Key => Str

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

REQUIRED Type => Str

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

REQUIRED Value => Str

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

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CloudWatchEvents

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues