@Stability(value=Stable) @Internal public static final class CfnEventBusPolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEventBusPolicyProps
CfnEventBusPolicyPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnEventBusPolicyProps.Builder, CfnEventBusPolicyProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnEventBusPolicyProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnEventBusPolicyProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAction()
The action that you are enabling the other account to perform.
|
Object |
getCondition()
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.
|
String |
getEventBusName()
The name of the event bus associated with the rule.
|
String |
getPrincipal()
The 12-digit AWS account ID that you are permitting to put events to your default event bus.
|
Object |
getStatement()
A JSON string that describes the permission policy statement.
|
String |
getStatementId()
An identifier string for the external account that you are granting permissions to.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnEventBusPolicyProps.Builder builder)
CfnEventBusPolicyProps.Builder.public final String getStatementId()
CfnEventBusPolicyProps
If you later want to revoke the permission for this external account, specify this StatementId when you run RemovePermission .
Each
StatementIdmust be unique.
getStatementId in interface CfnEventBusPolicyPropspublic final String getAction()
CfnEventBusPolicyPropsgetAction in interface CfnEventBusPolicyPropspublic final Object getCondition()
CfnEventBusPolicyPropsFor more information about AWS Organizations, see What Is AWS Organizations in the AWS Organizations User Guide .
If you specify Condition with an AWS organization ID, and specify "*" as the value for Principal , you grant permission to all the accounts in the named organization.
The Condition is a JSON string which must contain Type , Key , and Value fields.
getCondition in interface CfnEventBusPolicyPropspublic final String getEventBusName()
CfnEventBusPolicyPropsIf you omit this, the default event bus is used.
getEventBusName in interface CfnEventBusPolicyPropspublic final String getPrincipal()
CfnEventBusPolicyPropsSpecify "*" to permit any account to put events to your default event bus.
If you specify "*" without specifying Condition , avoid creating rules that may match undesirable events. To create more secure rules, make sure that the event pattern for each rule contains an account field with a specific account ID from which to receive events. Rules with an account field do not match any events sent from other accounts.
getPrincipal in interface CfnEventBusPolicyPropspublic final Object getStatement()
CfnEventBusPolicyProps
You can include a Policy parameter in the request instead of using the StatementId , Action , Principal , or Condition parameters.
getStatement in interface CfnEventBusPolicyProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.