Builder

class Builder

Properties

Link copied to clipboard

The action that you are enabling the other account to perform.

Link copied to clipboard

This parameter enables you to limit the permission to accounts that fulfill a certain condition, such as being a member of a certain Amazon Web Services organization. For more information about Amazon Web Services Organizations, see What Is Amazon Web Services Organizations in the Amazon Web Services Organizations User Guide.

Link copied to clipboard

The name of the event bus associated with the rule. If you omit this, the default event bus is used.

Link copied to clipboard

A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters.

Link copied to clipboard

The 12-digit Amazon Web Services account ID that you are permitting to put events to your default event bus. Specify "*" to permit any account to put events to your default event bus.

Link copied to clipboard

An identifier string for the external account that you are granting permissions to. If you later want to revoke the permission for this external account, specify this StatementId when you run RemovePermission.

Functions

Link copied to clipboard