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

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

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

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)


260
261
262
263
264
265
266
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 260

class CreateEventBusRequest < Struct.new(
  :name,
  :event_source_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#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)


260
261
262
263
264
265
266
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 260

class CreateEventBusRequest < Struct.new(
  :name,
  :event_source_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Tags to associate with the event bus.

Returns:



260
261
262
263
264
265
266
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 260

class CreateEventBusRequest < Struct.new(
  :name,
  :event_source_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end