AWS::EMRContainers::Endpoint ContainerLogRotationConfiguration - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::EMRContainers::Endpoint ContainerLogRotationConfiguration

The settings for container log rotation.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "MaxFilesToKeep" : Integer, "RotationSize" : String }

YAML

MaxFilesToKeep: Integer RotationSize: String

Properties

MaxFilesToKeep

The number of files to keep in container after rotation.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 50

Update requires: Replacement

RotationSize

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

Required: Yes

Type: String

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

Minimum: 3

Maximum: 12

Update requires: Replacement