Class: Aws::EventBridge::Types::CreateEventBusRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EventBridge::Types::CreateEventBusRequest
- Defined in:
- gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb
Overview
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
-
#event_source_name ⇒ String
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
-
#name ⇒ String
The name of the new event bus.
-
#tags ⇒ Array<Types::Tag>
Tags to associate with the event bus.
Instance Attribute Details
#event_source_name ⇒ String
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
1414 1415 1416 1417 1418 1419 1420 |
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1414 class CreateEventBusRequest < Struct.new( :name, :event_source_name, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
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.
1414 1415 1416 1417 1418 1419 1420 |
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1414 class CreateEventBusRequest < Struct.new( :name, :event_source_name, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
Tags to associate with the event bus.
1414 1415 1416 1417 1418 1419 1420 |
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1414 class CreateEventBusRequest < Struct.new( :name, :event_source_name, :tags) SENSITIVE = [] include Aws::Structure end |