Interface IEksVolumeOptions
Options to configure an EksVolume.
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEksVolumeOptions
Syntax (vb)
Public Interface 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
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. |
Properties
MountPath
The path on the container where the volume is mounted.
string? MountPath { get; }
Property Value
Remarks
Default: - the volume is not mounted
Name
The name of this volume.
string Name { get; }
Property Value
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.
bool? Readonly { get; }
Property Value
bool?
Remarks
Otherwise, the container has read/write access.
Default: false