ContainerLogRotationConfiguration - Amazon EMR on EKS

ContainerLogRotationConfiguration

The settings for container log rotation.

Contents

maxFilesToKeep

The number of files to keep in container after rotation.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 50.

Required: Yes

rotationSize

The file size at which to rotate logs. Minimum of 2KB, Maximum of 2GB.

Type: String

Length Constraints: Minimum length of 3. Maximum length of 12.

Pattern: ^\d+(\.\d+)?[KMG][Bb]?$

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: