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
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
Remarks
Currently, this must be the ID of the organization.
Type
Specifies the type of condition.
string? Type { get; }
Property Value
Remarks
Currently the only supported value is StringEquals.
Value
Specifies the key for the condition.
string? Value { get; }
Property Value
Remarks
Currently the only supported key is aws:PrincipalOrgID.