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

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


127
128
129
130
131
132
133
134
135
136
137
138
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 127

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)


127
128
129
130
131
132
133
134
135
136
137
138
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 127

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)


127
128
129
130
131
132
133
134
135
136
137
138
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 127

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)


127
128
129
130
131
132
133
134
135
136
137
138
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 127

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)


127
128
129
130
131
132
133
134
135
136
137
138
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 127

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)


127
128
129
130
131
132
133
134
135
136
137
138
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 127

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)


127
128
129
130
131
132
133
134
135
136
137
138
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 127

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)


127
128
129
130
131
132
133
134
135
136
137
138
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 127

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