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

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

Overview

Note:

When making an API call, you may pass HostVolumeProperties data as a hash:

{
  source_path: "String",
}

Details on a container instance host volume.

Instance Attribute Summary collapse

Instance Attribute Details

#source_pathString

The path on the host container instance that is 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 does not 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 are using the Fargate launch type, the ‘sourcePath` parameter is not supported.

Returns:

  • (String)


2406
2407
2408
2409
# File 'lib/aws-sdk-ecs/types.rb', line 2406

class HostVolumeProperties < Struct.new(
  :source_path)
  include Aws::Structure
end