Paws::CloudWatchEvents::Condition
This class represents one of two things:
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 });
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchEvents::Condition object:
$result = $service_obj->Method(...); $result->Att1->Key
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
Key
Value
Condition
'{"Type" : "StringEquals", "Key": "aws:PrincipalOrgID", "Value": "o-1234567890"}'
Specifies the key for the condition. Currently the only supported key is C<aws:PrincipalOrgID>.
Specifies the type of condition. Currently the only supported value is C<StringEquals>.
Specifies the value for the key. Currently, this must be the ID of the organization.
This class forms part of Paws, describing an object used in Paws::CloudWatchEvents
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.