Class: Aws::EventBridge::Types::Archive

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

Overview

An ‘Archive` object that contains details about an archive.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#archive_nameString

The name of the archive.

Returns:

  • (String)


149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/aws-sdk-eventbridge/types.rb', line 149

class Archive < Struct.new(
  :archive_name,
  :event_source_arn,
  :state,
  :state_reason,
  :retention_days,
  :size_bytes,
  :event_count,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

The time stamp for the time that the archive was created.

Returns:

  • (Time)


149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/aws-sdk-eventbridge/types.rb', line 149

class Archive < Struct.new(
  :archive_name,
  :event_source_arn,
  :state,
  :state_reason,
  :retention_days,
  :size_bytes,
  :event_count,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#event_countInteger

The number of events in the archive.

Returns:

  • (Integer)


149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/aws-sdk-eventbridge/types.rb', line 149

class Archive < Struct.new(
  :archive_name,
  :event_source_arn,
  :state,
  :state_reason,
  :retention_days,
  :size_bytes,
  :event_count,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#event_source_arnString

The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.

Returns:

  • (String)


149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/aws-sdk-eventbridge/types.rb', line 149

class Archive < Struct.new(
  :archive_name,
  :event_source_arn,
  :state,
  :state_reason,
  :retention_days,
  :size_bytes,
  :event_count,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#retention_daysInteger

The number of days to retain events in the archive before they are deleted.

Returns:

  • (Integer)


149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/aws-sdk-eventbridge/types.rb', line 149

class Archive < Struct.new(
  :archive_name,
  :event_source_arn,
  :state,
  :state_reason,
  :retention_days,
  :size_bytes,
  :event_count,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#size_bytesInteger

The size of the archive, in bytes.

Returns:

  • (Integer)


149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/aws-sdk-eventbridge/types.rb', line 149

class Archive < Struct.new(
  :archive_name,
  :event_source_arn,
  :state,
  :state_reason,
  :retention_days,
  :size_bytes,
  :event_count,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The current state of the archive.

Returns:

  • (String)


149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/aws-sdk-eventbridge/types.rb', line 149

class Archive < Struct.new(
  :archive_name,
  :event_source_arn,
  :state,
  :state_reason,
  :retention_days,
  :size_bytes,
  :event_count,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#state_reasonString

A description for the reason that the archive is in the current state.

Returns:

  • (String)


149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/aws-sdk-eventbridge/types.rb', line 149

class Archive < Struct.new(
  :archive_name,
  :event_source_arn,
  :state,
  :state_reason,
  :retention_days,
  :size_bytes,
  :event_count,
  :creation_time)
  SENSITIVE = []
  include Aws::Structure
end