Class EksVolumeOptions
Options to configure an EksVolume.
Inheritance
System.Object
EksVolumeOptions
Implements
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EksVolumeOptions : Object, IEksVolumeOptions
Syntax (vb)
Public Class EksVolumeOptions
Inherits Object
Implements IEksVolumeOptions
Remarks
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 eksVolumeOptions = new EksVolumeOptions {
Name = "name",
// the properties below are optional
MountPath = "mountPath",
Readonly = false
};
Synopsis
Constructors
EksVolumeOptions() |
Properties
MountPath | The path on the container where the volume is mounted. |
Name | The name of this volume. |
Readonly | If specified, the container has readonly access to the volume. |
Constructors
EksVolumeOptions()
public EksVolumeOptions()
Properties
MountPath
The path on the container where the volume is mounted.
public string MountPath { get; set; }
Property Value
System.String
Remarks
Default: - the volume is not mounted
Name
The name of this volume.
public string Name { get; set; }
Property Value
System.String
Remarks
The name must be a valid DNS subdomain name.
See: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names
Readonly
If specified, the container has readonly access to the volume.
public Nullable<bool> Readonly { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Otherwise, the container has read/write access.
Default: false