The following parameter is identical in behaviour to x-aws-logs_retention defined in the docker ECS Plugin.
Alternatively you can use the ECS Plugin logging definition will ECS Compose-X will use. If both are defined, priority goes to the highest value.
Value to indicate how long should the logs be retained for the service.
If the value you enter is not in the allowed values, will set to the closest accepted value.
Emulates the CW Logs property RetentionInDays Property
services: serviceA: x-logging: RetentionInDays: 42