Class: Aws::Batch::Types::EksContainerVolumeMount

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

Overview

The volume mounts for a container for an Amazon EKS job. For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#mount_pathString

The path on the container where the volume is mounted.

Returns:

  • (String)


4004
4005
4006
4007
4008
4009
4010
4011
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 4004

class EksContainerVolumeMount < Struct.new(
  :name,
  :mount_path,
  :sub_path,
  :read_only)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name the volume mount. This must match the name of one of the volumes in the pod.

Returns:

  • (String)


4004
4005
4006
4007
4008
4009
4010
4011
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 4004

class EksContainerVolumeMount < Struct.new(
  :name,
  :mount_path,
  :sub_path,
  :read_only)
  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)


4004
4005
4006
4007
4008
4009
4010
4011
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 4004

class EksContainerVolumeMount < Struct.new(
  :name,
  :mount_path,
  :sub_path,
  :read_only)
  SENSITIVE = []
  include Aws::Structure
end

#sub_pathString

A sub-path inside the referenced volume instead of its root.

Returns:

  • (String)


4004
4005
4006
4007
4008
4009
4010
4011
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 4004

class EksContainerVolumeMount < Struct.new(
  :name,
  :mount_path,
  :sub_path,
  :read_only)
  SENSITIVE = []
  include Aws::Structure
end