You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

An Archive object that contains details about an archive.

Instance Attribute Summary collapse

Instance Attribute Details

#archive_nameString

The name of the archive.

Returns:

  • (String)

    The name of the archive.

#creation_timeTime

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

Returns:

  • (Time)

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

#event_countInteger

The number of events in the archive.

Returns:

  • (Integer)

    The number of events in the archive.

#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)

    The ARN of the event bus associated with the archive.

#retention_daysInteger

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

Returns:

  • (Integer)

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

#size_bytesInteger

The size of the archive, in bytes.

Returns:

  • (Integer)

    The size of the archive, in bytes.

#stateString

The current state of the archive.

Possible values:

  • ENABLED
  • DISABLED
  • CREATING
  • UPDATING
  • CREATE_FAILED
  • UPDATE_FAILED

Returns:

  • (String)

    The current state of the archive.

#state_reasonString

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

Returns:

  • (String)

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