You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Batch::Types::MountPoint

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

Overview

Note:

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

{
  container_path: "String",
  read_only: false,
  source_volume: "String",
}

Details on a Docker volume mount point that is used in a job's container properties.

Instance Attribute Summary collapse

Instance Attribute Details

#container_pathString

The path on the container at which to mount the host volume.

Returns:

  • (String)


1767
1768
1769
1770
1771
1772
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1767

class MountPoint < Struct.new(
  :container_path,
  :read_only,
  :source_volume)
  include Aws::Structure
end

#read_onlyBoolean

If this value is true, the container has read-only access to the volume; otherwise, the container can write to the volume. The default value is false.

Returns:

  • (Boolean)


1767
1768
1769
1770
1771
1772
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1767

class MountPoint < Struct.new(
  :container_path,
  :read_only,
  :source_volume)
  include Aws::Structure
end

#source_volumeString

The name of the volume to mount.

Returns:

  • (String)


1767
1768
1769
1770
1771
1772
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1767

class MountPoint < Struct.new(
  :container_path,
  :read_only,
  :source_volume)
  include Aws::Structure
end