Interface CfnEventBusPolicy.ConditionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventBusPolicy.ConditionProperty.Jsii$Proxy
- Enclosing class:
CfnEventBusPolicy
@Stability(Stable)
public static interface CfnEventBusPolicy.ConditionProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.events.*;
ConditionProperty conditionProperty = ConditionProperty.builder()
.key("key")
.type("type")
.value("value")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventBusPolicy.ConditionPropertystatic final classAn implementation forCfnEventBusPolicy.ConditionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKey
Specifies the value for the key.Currently, this must be the ID of the organization.
- See Also:
-
getType
Specifies the type of condition.Currently the only supported value is StringEquals.
- See Also:
-
getValue
Specifies the key for the condition.Currently the only supported key is aws:PrincipalOrgID.
- See Also:
-
builder
-