Class: Aws::ECS::Types::LogDriverVolumeConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::LogDriverVolumeConfiguration
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
The configuration for a log driver volume in a daemon task definition.
The volume contains the log files for each container on the container
instance that uses the specified log driver in its logConfiguration.
Containers that use a different log driver don't write log files to
the volume.
For the json-file log driver, the volume has one directory for each
container, named with the container ID. Each directory contains the
container's log file, <container-id>-json.log, and any rotated log
files. After a container stops and Amazon ECS removes it, Amazon ECS
deletes the container's directory. Read the log files before the
container is removed.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#driver ⇒ String
The log driver whose log files the volume contains.
Instance Attribute Details
#driver ⇒ String
The log driver whose log files the volume contains. The only
supported value is json-file.
12673 12674 12675 12676 12677 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 12673 class LogDriverVolumeConfiguration < Struct.new( :driver) SENSITIVE = [] include Aws::Structure end |