Skip to content

Create Event Bus

cloudwatchevents_create_event_bus R Documentation

Creates a new event bus within your account

Description

Creates a new event bus within your account. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.

Usage

cloudwatchevents_create_event_bus(Name, EventSourceName, Tags)

Arguments

Name

[required] The name of the new event bus.

Event bus names cannot contain the / character. You can't use the name default for a custom event bus, as this name is already used for your account's default event bus.

If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.

EventSourceName

If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.

Tags

Tags to associate with the event bus.

Value

A list with the following syntax:

list(
  EventBusArn = "string"
)

Request syntax

svc$create_event_bus(
  Name = "string",
  EventSourceName = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)