Class: Aws::ECS::Types::HostVolumeProperties

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

Overview

Details on a container instance bind mount host volume.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#source_pathString

When the ‘host` parameter is used, specify a `sourcePath` to declare the path on the host container instance that’s presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the ‘host` parameter contains a `sourcePath` file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the `sourcePath` value doesn’t exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.

If you’re using the Fargate launch type, the ‘sourcePath` parameter is not supported.

Returns:

  • (String)


5490
5491
5492
5493
5494
# File 'lib/aws-sdk-ecs/types.rb', line 5490

class HostVolumeProperties < Struct.new(
  :source_path)
  SENSITIVE = []
  include Aws::Structure
end