LogGroup
Represents a log group.
Contents
- arn
-
The Amazon Resource Name (ARN) of the log group.
Type: String
Required: No
- creationTime
-
The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Type: Long
Valid Range: Minimum value of 0.
Required: No
- kmsKeyId
-
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
Type: String
Length Constraints: Maximum length of 256.
Required: No
- logGroupName
-
The name of the log group.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Pattern:
[\.\-_/#A-Za-z0-9]+
Required: No
- metricFilterCount
-
The number of metric filters.
Type: Integer
Required: No
- retentionInDays
-
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, 2192, 2557, 2922, 3288, and 3653.
To set a log group to never have log events expire, use DeleteRetentionPolicy.
Type: Integer
Required: No
- storedBytes
-
The number of bytes stored.
Type: Long
Valid Range: Minimum value of 0.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: