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 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 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)

5431
5432
5433
5434
5435
# File 'lib/aws-sdk-ecs/types.rb', line 5431

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