Class: Aws::EventBridgeV2::Types::EventSourceSummary

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

Overview

Summary of an EventSource, as returned by ListEventSources.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_time ⇒ Time

The time the EventSource was created.

Returns:

  • (Time)


1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259

class EventSourceSummary < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :type,
  :state,
  :revoked,
  :creation_time,
  :last_modified_time,
  :event_source_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#event_bus_arn ⇒ String

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

Returns:

  • (String)


1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259

class EventSourceSummary < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :type,
  :state,
  :revoked,
  :creation_time,
  :last_modified_time,
  :event_source_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#event_source_account_id ⇒ String

AWS Account Id.

Returns:

  • (String)


1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259

class EventSourceSummary < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :type,
  :state,
  :revoked,
  :creation_time,
  :last_modified_time,
  :event_source_account_id)
  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)


1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259

class EventSourceSummary < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :type,
  :state,
  :revoked,
  :creation_time,
  :last_modified_time,
  :event_source_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_time ⇒ Time

The time the EventSource was last modified.

Returns:

  • (Time)


1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259

class EventSourceSummary < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :type,
  :state,
  :revoked,
  :creation_time,
  :last_modified_time,
  :event_source_account_id)
  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)


1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259

class EventSourceSummary < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :type,
  :state,
  :revoked,
  :creation_time,
  :last_modified_time,
  :event_source_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#revoked ⇒ Boolean

True when the bus owner has withdrawn this EventSource. Present only when true, so a bus owner listing EventSources sees at a glance which ones they revoked. See DescribeEventSourceResponse$Revoked.

Returns:

  • (Boolean)


1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259

class EventSourceSummary < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :type,
  :state,
  :revoked,
  :creation_time,
  :last_modified_time,
  :event_source_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#state ⇒ String

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

Returns:

  • (String)


1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259

class EventSourceSummary < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :type,
  :state,
  :revoked,
  :creation_time,
  :last_modified_time,
  :event_source_account_id)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

Origin type of an EventSource.

  • AWS_SERVICE_EVENTS - Events from an AWS service.

  • PARTNER_EVENTS - Events from a partner event source.

  • WEBHOOK_EVENTS - Events that a third-party provider sends to a webhook URL.

Returns:

  • (String)


1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259

class EventSourceSummary < Struct.new(
  :event_source_arn,
  :name,
  :event_bus_arn,
  :type,
  :state,
  :revoked,
  :creation_time,
  :last_modified_time,
  :event_source_account_id)
  SENSITIVE = []
  include Aws::Structure
end