public class CloudWatchConstants extends Object
See http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOWED_GROUP_NAME_REGEX
Used to validate log stream names.
|
static String |
ALLOWED_STREAM_NAME_REGEX
Used to validate log group names.
|
static int |
MAX_BATCH_BYTES
Maximum number of bytes in a single batch.
|
static int |
MAX_BATCH_COUNT
Maximum number of messages in a single batch.
|
static int |
MAX_MESSAGE_SIZE
The maximum number of bytes in a single message, after conversion to UTF-8.
|
static int |
MESSAGE_OVERHEAD
Overhead added to each message in a batch.
|
| Constructor and Description |
|---|
CloudWatchConstants() |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
validateRetentionPeriod(Integer value)
Validates proposed retention period, throwing if invalid.
|
public static final int MAX_MESSAGE_SIZE
public static final int MESSAGE_OVERHEAD
public static final int MAX_BATCH_COUNT
public static final int MAX_BATCH_BYTES
public static final String ALLOWED_GROUP_NAME_REGEX
public static final String ALLOWED_STREAM_NAME_REGEX
Copyright © 2023. All rights reserved.