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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 Amazon Web Services 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)


1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 1963

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)


1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 1963

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)


1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 1963

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 Amazon Web Services account doesn’t create a matching event bus for it.

Returns:

  • (Time)


1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 1963

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)


1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 1963

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)


1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 1963

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