Show / Hide Table of Contents

Class EksVolumeOptions

Options to configure an EksVolume.

Inheritance
object
EksVolumeOptions
Implements
IEksVolumeOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EksVolumeOptions : IEksVolumeOptions
Syntax (vb)
Public Class EksVolumeOptions 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()

Options to configure an EksVolume.

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()

Options to configure an EksVolume.

public EksVolumeOptions()
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
            };

Properties

MountPath

The path on the container where the volume is mounted.

public string? MountPath { get; set; }
Property Value

string

Remarks

Default: - the volume is not mounted

Name

The name of this volume.

public string Name { get; set; }
Property Value

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 bool? Readonly { get; set; }
Property Value

bool?

Remarks

Otherwise, the container has read/write access.

Default: false

Implements

IEksVolumeOptions
Back to top Generated by DocFX