Class: Aws::Batch::Types::MountPoint
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::MountPoint
- 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's 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
-
#container_path ⇒ String
The path on the container where the host volume is mounted.
-
#read_only ⇒ Boolean
If this value is
true
, the container has read-only access to the volume. -
#source_volume ⇒ String
The name of the volume to mount.
Instance Attribute Details
#container_path ⇒ String
The path on the container where the host volume is mounted.
3497 3498 3499 3500 3501 3502 3503 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3497 class MountPoint < Struct.new( :container_path, :read_only, :source_volume) SENSITIVE = [] include Aws::Structure end |
#read_only ⇒ Boolean
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
.
3497 3498 3499 3500 3501 3502 3503 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3497 class MountPoint < Struct.new( :container_path, :read_only, :source_volume) SENSITIVE = [] include Aws::Structure end |
#source_volume ⇒ String
The name of the volume to mount.
3497 3498 3499 3500 3501 3502 3503 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 3497 class MountPoint < Struct.new( :container_path, :read_only, :source_volume) SENSITIVE = [] include Aws::Structure end |