Class: Aws::EventBridgeV2::Types::DescribeEventSourceResponse

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

#configuration ⇒ Types::EventSourceConfiguration

Discriminated EventSource configuration. Exactly one variant must be set.



842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 842

class DescribeEventSourceResponse < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :state,
  :revoked,
  :event_source_details,
  :creation_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end

#creation_time ⇒ Time

The time the EventSource was created.

Returns:

  • (Time)


842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 842

class DescribeEventSourceResponse < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :state,
  :revoked,
  :event_source_details,
  :creation_time,
  :last_modified_time)
  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)


842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 842

class DescribeEventSourceResponse < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :state,
  :revoked,
  :event_source_details,
  :creation_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end

#event_bus_arn ⇒ String

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

Returns:

  • (String)


842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 842

class DescribeEventSourceResponse < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :state,
  :revoked,
  :event_source_details,
  :creation_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end

#event_source_arn ⇒ String

EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events, webhook for webhook events) and is not part of the resource's name. The id segment is a 25-character identifier generated by the service.

Returns:

  • (String)


842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 842

class DescribeEventSourceResponse < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :state,
  :revoked,
  :event_source_details,
  :creation_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end

#event_source_details ⇒ Types::EventSourceDetails

Values EventBridge generated for this EventSource type, such as a webhook's URL and the ARN of its secret. Absent for EventSource types that have no generated values.



842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 842

class DescribeEventSourceResponse < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :state,
  :revoked,
  :event_source_details,
  :creation_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_time ⇒ Time

The time the EventSource was last modified.

Returns:

  • (Time)


842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 842

class DescribeEventSourceResponse < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :state,
  :revoked,
  :event_source_details,
  :creation_time,
  :last_modified_time)
  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/<type>/<name>/<id>), mirroring EventBusName, so a name the ARN cannot represent cannot be created.

Returns:

  • (String)


842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 842

class DescribeEventSourceResponse < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :state,
  :revoked,
  :event_source_details,
  :creation_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end

#revoked ⇒ Boolean

True when the bus owner has withdrawn this EventSource. Present only when true, so an absent member means the EventSource is not revoked. Revocation is terminal: it never returns to false. Mutating operations on a revoked EventSource fail with InvalidStateException, except DeleteEventSource, which stays available so a revoked EventSource can still be cleaned up.

Returns:

  • (Boolean)


842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 842

class DescribeEventSourceResponse < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :state,
  :revoked,
  :event_source_details,
  :creation_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end

#state ⇒ String

Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.

Returns:

  • (String)


842
843
844
845
846
847
848
849
850
851
852
853
854
855
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 842

class DescribeEventSourceResponse < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :configuration,
  :description,
  :state,
  :revoked,
  :event_source_details,
  :creation_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end