You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EventBridge::Types::EventSource

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

Overview

A partner event source is created by an SaaS partner. If a customer creates a partner event bus that matches this event source, that AWS account can receive events from the partner's applications or services.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the event source.

Returns:

  • (String)


814
815
816
817
818
819
820
821
822
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 814

class EventSource < Struct.new(
  :arn,
  :created_by,
  :creation_time,
  :expiration_time,
  :name,
  :state)
  include Aws::Structure
end

#created_byString

The name of the partner that created the event source.

Returns:

  • (String)


814
815
816
817
818
819
820
821
822
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 814

class EventSource < Struct.new(
  :arn,
  :created_by,
  :creation_time,
  :expiration_time,
  :name,
  :state)
  include Aws::Structure
end

#creation_timeTime

The date and time when the event source was created.

Returns:

  • (Time)


814
815
816
817
818
819
820
821
822
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 814

class EventSource < Struct.new(
  :arn,
  :created_by,
  :creation_time,
  :expiration_time,
  :name,
  :state)
  include Aws::Structure
end

#expiration_timeTime

The date and time when the event source will expire if the AWS account doesn't create a matching event bus for it.

Returns:

  • (Time)


814
815
816
817
818
819
820
821
822
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 814

class EventSource < Struct.new(
  :arn,
  :created_by,
  :creation_time,
  :expiration_time,
  :name,
  :state)
  include Aws::Structure
end

#nameString

The name of the event source.

Returns:

  • (String)


814
815
816
817
818
819
820
821
822
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 814

class EventSource < Struct.new(
  :arn,
  :created_by,
  :creation_time,
  :expiration_time,
  :name,
  :state)
  include Aws::Structure
end

#stateString

The state of the event source. If it's ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it's PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it's DELETED, you have created a matching event bus, but the event source has since been deleted.

Returns:

  • (String)


814
815
816
817
818
819
820
821
822
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 814

class EventSource < Struct.new(
  :arn,
  :created_by,
  :creation_time,
  :expiration_time,
  :name,
  :state)
  include Aws::Structure
end