Interface CfnJobDefinition.IEksContainerVolumeMountProperty
The volume mounts for a container for an Amazon EKS job.
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.AWS.Batch.dll
Syntax (csharp)
public interface IEksContainerVolumeMountProperty
Syntax (vb)
Public Interface IEksContainerVolumeMountProperty
Remarks
For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;
var eksContainerVolumeMountProperty = new EksContainerVolumeMountProperty {
MountPath = "mountPath",
Name = "name",
ReadOnly = false
};
Synopsis
Properties
MountPath | The path on the container where the volume is mounted. |
Name | The name the volume mount. |
ReadOnly | If this value is |
Properties
MountPath
The path on the container where the volume is mounted.
virtual string MountPath { get; }
Property Value
System.String
Remarks
Name
The name the volume mount.
virtual string Name { get; }
Property Value
System.String
Remarks
This must match the name of one of the volumes in the pod.
ReadOnly
If this value is true
, the container has read-only access to the volume.
virtual object ReadOnly { get; }
Property Value
System.Object
Remarks
Otherwise, the container can write to the volume. The default value is false
.