Class: Aws::CloudWatchEvents::Types::Archive

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


120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 120

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)


120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 120

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)


120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 120

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)


120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 120

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)


120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 120

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)


120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 120

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)


120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 120

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)


120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 120

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