Show / Hide Table of Contents

Interface CfnEventBusPolicy.IConditionProperty

This parameter enables you to limit the permission to accounts that fulfill a certain condition, such as being a member of a certain AWS organization.

Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnEventBusPolicy.IConditionProperty
Syntax (vb)
Public Interface CfnEventBusPolicy.IConditionProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbuspolicy-condition.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Events;

             var conditionProperty = new ConditionProperty {
                 Key = "key",
                 Type = "type",
                 Value = "value"
             };

Synopsis

Properties

Key

Specifies the value for the key.

Type

Specifies the type of condition.

Value

Specifies the key for the condition.

Properties

Key

Specifies the value for the key.

string? Key { get; }
Property Value

string

Remarks

Currently, this must be the ID of the organization.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbuspolicy-condition.html#cfn-events-eventbuspolicy-condition-key

Type

Specifies the type of condition.

string? Type { get; }
Property Value

string

Remarks

Currently the only supported value is StringEquals.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbuspolicy-condition.html#cfn-events-eventbuspolicy-condition-type

Value

Specifies the key for the condition.

string? Value { get; }
Property Value

string

Remarks

Currently the only supported key is aws:PrincipalOrgID.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbuspolicy-condition.html#cfn-events-eventbuspolicy-condition-value

Back to top Generated by DocFX