Class: Aws::CloudWatchEvents::Types::EventSource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the event source.

Returns:

  • (String)


858
859
860
861
862
863
864
865
866
867
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 858

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

#created_byString

The name of the partner that created the event source.

Returns:

  • (String)


858
859
860
861
862
863
864
865
866
867
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 858

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

#creation_timeTime

The date and time the event source was created.

Returns:

  • (Time)


858
859
860
861
862
863
864
865
866
867
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 858

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

#expiration_timeTime

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

Returns:

  • (Time)


858
859
860
861
862
863
864
865
866
867
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 858

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

#nameString

The name of the event source.

Returns:

  • (String)


858
859
860
861
862
863
864
865
866
867
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 858

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

#stateString

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

Returns:

  • (String)


858
859
860
861
862
863
864
865
866
867
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 858

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