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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dead_letter_configTypes::DeadLetterConfig

Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter queue (DLQ).

For more information, see [Event retry policy and using dead-letter queues](eventbridge/latest/userguide/eb-rule-dlq.html) in the *EventBridge User Guide*.



1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'lib/aws-sdk-eventbridge/types.rb', line 1114

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

#descriptionString

The event bus description.

Returns:

  • (String)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'lib/aws-sdk-eventbridge/types.rb', line 1114

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

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


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'lib/aws-sdk-eventbridge/types.rb', line 1114

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

#kms_key_identifierString

The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.

If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt events on the event bus.

For more information, see [Managing keys] in the *Key Management Service Developer Guide*.

<note markdown=“1”> Archives and schema discovery are not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:

* You call ` CreateArchive ` on an event bus set to use a customer
 managed key for encryption.
  • You call ‘ CreateDiscoverer ` on an event bus set to use a customer managed key for encryption.

  • You call ‘ UpdatedEventBus ` to set a customer managed key on an event bus with an archives or schema discovery enabled.

To enable archives or schema discovery on an event bus, choose to

use an Amazon Web Services owned key. For more information, see

Data encryption in EventBridge][2

in the *Amazon EventBridge User

Guide*.

</note>

[1]: docs.aws.amazon.com/kms/latest/developerguide/getting-started.html [2]: docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html

Returns:

  • (String)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'lib/aws-sdk-eventbridge/types.rb', line 1114

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

#nameString

The name of the new event bus.

Custom event bus names can’t contain the ‘/` character, but you can use the `/` character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.

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.

Returns:

  • (String)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'lib/aws-sdk-eventbridge/types.rb', line 1114

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

#tagsArray<Types::Tag>

Tags to associate with the event bus.

Returns:



1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'lib/aws-sdk-eventbridge/types.rb', line 1114

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