Class: Aws::Batch::Types::Volume
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::Volume
- Defined in:
- gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb
Overview
When making an API call, you may pass Volume data as a hash:
{
host: {
source_path: "String",
},
name: "String",
}
A data volume used in a job's container properties.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#host ⇒ Types::Host
The contents of the
host
parameter determine whether your data volume persists on the host container instance and where it is stored. -
#name ⇒ String
The name of the volume.
Instance Attribute Details
#host ⇒ Types::Host
The contents of the host
parameter determine whether your data
volume persists on the host container instance and where it is
stored. If the host parameter is empty, then the Docker daemon
assigns a host path for your data volume. However, the data isn't
guaranteed to persist after the containers associated with it stop
running.
5258 5259 5260 5261 5262 5263 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5258 class Volume < Struct.new( :host, :name) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the volume. Up to 255 letters (uppercase and lowercase),
numbers, hyphens, and underscores are allowed. This name is
referenced in the sourceVolume
parameter of container definition
mountPoints
.
5258 5259 5260 5261 5262 5263 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 5258 class Volume < Struct.new( :host, :name) SENSITIVE = [] include Aws::Structure end |