ContainerLogRotationConfiguration - Amazon EMR on EKS
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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: