Class: Aws::ECS::Types::DaemonVolume

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb

Overview

A data volume definition for a daemon task.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#host ⇒ Types::HostVolumeProperties

The contents of the host parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.



5310
5311
5312
5313
5314
5315
5316
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5310

class DaemonVolume < Struct.new(
  :name,
  :host,
  :log_driver_volume_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#log_driver_volume_configuration ⇒ Types::LogDriverVolumeConfiguration

The log driver volume configuration. With a log driver volume, the containers in a daemon task can read the log files that a log driver writes for the other tasks on the container instance. To read the log files, mount the volume into a container in the daemon task with mountPoints.

Use host to bind mount a path on the container instance. Use logDriverVolumeConfiguration to read the log output of other tasks. You can't specify both for the same volume.



5310
5311
5312
5313
5314
5315
5316
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5310

class DaemonVolume < Struct.new(
  :name,
  :host,
  :log_driver_volume_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

Returns:

  • (String)


5310
5311
5312
5313
5314
5315
5316
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5310

class DaemonVolume < Struct.new(
  :name,
  :host,
  :log_driver_volume_configuration)
  SENSITIVE = []
  include Aws::Structure
end