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. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_pathString

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

Returns:

  • (String)


2785
2786
2787
2788
2789
2790
2791
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2785

class MountPoint < Struct.new(
  :container_path,
  :read_only,
  :source_volume)
  SENSITIVE = []
  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)


2785
2786
2787
2788
2789
2790
2791
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2785

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

#source_volumeString

The name of the volume to mount.

Returns:

  • (String)


2785
2786
2787
2788
2789
2790
2791
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2785

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