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

Class: Aws::EventBridge::Types::CreateEventBusRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb

Overview

Note:

When making an API call, you may pass CreateEventBusRequest data as a hash:

{
  name: "EventBusName", # required
  event_source_name: "EventSourceName",
}

Instance Attribute Summary collapse

Instance Attribute Details

#event_source_nameString

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

Returns:

  • (String)


237
238
239
240
241
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 237

class CreateEventBusRequest < Struct.new(
  :name,
  :event_source_name)
  include Aws::Structure
end

#nameString

The name of the new event bus.

The names of custom event buses can't contain the / character. You can't use the name default for a custom event bus because 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. This name will include the / character.

Returns:

  • (String)


237
238
239
240
241
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 237

class CreateEventBusRequest < Struct.new(
  :name,
  :event_source_name)
  include Aws::Structure
end