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

Class: Aws::CloudWatchLogs::Types::LogGroup

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

Overview

Represents a log group.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the log group.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the log group.

#creation_timeInteger

The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

Returns:

  • (Integer)

    The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

#kms_key_idString

The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.

#log_group_nameString

The name of the log group.

Returns:

  • (String)

    The name of the log group.

#metric_filter_countInteger

The number of metric filters.

Returns:

  • (Integer)

    The number of metric filters.

#retention_in_daysInteger

The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.

If you omit retentionInDays in a PutRetentionPolicy operation, the events in the log group are always retained and never expire.

Returns:

  • (Integer)

    The number of days to retain the log events in the specified log group.

#stored_bytesInteger

The number of bytes stored.

Returns:

  • (Integer)

    The number of bytes stored.