Class: Aws::EventBridgeV2::Types::AwsServiceEventsSourceConfiguration

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

Overview

Configuration for forwarding a single AWS service's events from the account's default event bus.

Constant Summary collapse

SENSITIVE =
[:pattern]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_service ⇒ String

A single AWS service source identifier, e.g. "aws.s3". Wildcards and lists are rejected.

Returns:

  • (String)


49
50
51
52
53
54
55
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 49

class AwsServiceEventsSourceConfiguration < Struct.new(
  :aws_service,
  :pattern,
  :on_failure_configuration)
  SENSITIVE = [:pattern]
  include Aws::Structure
end

#on_failure_configuration ⇒ Types::OnFailureConfiguration

The destination for events that could not be forwarded.



49
50
51
52
53
54
55
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 49

class AwsServiceEventsSourceConfiguration < Struct.new(
  :aws_service,
  :pattern,
  :on_failure_configuration)
  SENSITIVE = [:pattern]
  include Aws::Structure
end

#pattern ⇒ String

A filter pattern, as a JSON string, that defines which of the service's events are forwarded to the event bus. Do not include source, account, or region as top-level fields. If no pattern is specified, all events from the service are forwarded.

Returns:

  • (String)


49
50
51
52
53
54
55
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 49

class AwsServiceEventsSourceConfiguration < Struct.new(
  :aws_service,
  :pattern,
  :on_failure_configuration)
  SENSITIVE = [:pattern]
  include Aws::Structure
end