Class: Aws::CloudWatchEvents::Types::Archive
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchEvents::Types::Archive
- 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
-
#archive_name ⇒ String
The name of the archive.
-
#creation_time ⇒ Time
The time stamp for the time that the archive was created.
-
#event_count ⇒ Integer
The number of events in the archive.
-
#event_source_arn ⇒ String
The ARN of the event bus associated with the archive.
-
#retention_days ⇒ Integer
The number of days to retain events in the archive before they are deleted.
-
#size_bytes ⇒ Integer
The size of the archive, in bytes.
-
#state ⇒ String
The current state of the archive.
-
#state_reason ⇒ String
A description for the reason that the archive is in the current state.
Instance Attribute Details
#archive_name ⇒ String
The name of the archive.
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_time ⇒ Time
The time stamp for the time that the archive was created.
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_count ⇒ Integer
The number of events in the archive.
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_arn ⇒ String
The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
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_days ⇒ Integer
The number of days to retain events in the archive before they are deleted.
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_bytes ⇒ Integer
The size of the archive, in bytes.
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 ⇒ String
The current state of the archive.
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_reason ⇒ String
A description for the reason that the archive is in the current state.
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 |