A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/CloudWatchEvents/Types/Condition.html below:

Condition — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatchEvents::Types::Condition
Inherits:
Struct show all
Defined in:
(unknown)
Overview Note:

When passing Condition as input to an Aws::Client method, you can use a vanilla Hash:

{
  type: "String",   key: "String",   value: "String", }

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

Returned by:

Instance Attribute Summary collapse Instance Attribute Details #key ⇒ String

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

#type ⇒ String

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

#value ⇒ String

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4