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:IntegerRotationSize:String
Properties
MaxFilesToKeep-
The number of files to keep in container after rotation.
Required: Yes
Type: Integer
Minimum:
1Maximum:
50Update 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:
3Maximum:
12Update requires: Replacement