You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatchEvents::Types::CreateEventBusRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateEventBusRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "EventBusName", # required
  event_source_name: "EventSourceName",
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#event_source_nameString

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

Returns:

  • (String)

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

#nameString

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.

Returns:

  • (String)

    The name of the new event bus.

#tagsArray<Types::Tag>

Tags to associate with the event bus.

Returns:

  • (Array<Types::Tag>)

    Tags to associate with the event bus.