Class: Aws::EventBridgeV2::Types::CreateEventSourceRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

Unique, case-sensitive identifier that ensures the idempotency of the request. The SDK generates one automatically when the field is omitted.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


300
301
302
303
304
305
306
307
308
309
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 300

class CreateEventSourceRequest < Struct.new(
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#configuration ⇒ Types::EventSourceConfiguration

Discriminated EventSource configuration. Exactly one variant must be set.



300
301
302
303
304
305
306
307
308
309
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 300

class CreateEventSourceRequest < Struct.new(
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.

Returns:

  • (String)


300
301
302
303
304
305
306
307
308
309
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 300

class CreateEventSourceRequest < Struct.new(
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#event_bus_arn ⇒ String

The Amazon Resource Name (ARN) that uniquely identifies an event bus.

Returns:

  • (String)


300
301
302
303
304
305
306
307
308
309
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 300

class CreateEventSourceRequest < Struct.new(
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not begin with the reserved "aws." prefix. The grammar matches the ARN local-name segment in EventSourceArn (event-sourcev2///), mirroring EventBusName, so a name the ARN cannot represent cannot be created.

Returns:

  • (String)


300
301
302
303
304
305
306
307
308
309
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 300

class CreateEventSourceRequest < Struct.new(
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

Tags attached to a resource, as key-value pairs.

Returns:

  • (Hash<String,String>)


300
301
302
303
304
305
306
307
308
309
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 300

class CreateEventSourceRequest < Struct.new(
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end