Show / Hide Table of Contents

Class CfnJobDefinition.EksContainerVolumeMountProperty

The volume mounts for a container for an Amazon EKS job.

Inheritance
object
CfnJobDefinition.EksContainerVolumeMountProperty
Implements
CfnJobDefinition.IEksContainerVolumeMountProperty
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 CfnJobDefinition.EksContainerVolumeMountProperty : CfnJobDefinition.IEksContainerVolumeMountProperty
Syntax (vb)
Public Class CfnJobDefinition.EksContainerVolumeMountProperty Implements CfnJobDefinition.IEksContainerVolumeMountProperty
Remarks

For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html

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,
                 SubPath = "subPath"
             };

Synopsis

Constructors

EksContainerVolumeMountProperty()

The volume mounts for a container for an Amazon EKS job.

Properties

MountPath

The path on the container where the volume is mounted.

Name

The name the volume mount.

ReadOnly

If this value is true , the container has read-only access to the volume.

SubPath

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

Constructors

EksContainerVolumeMountProperty()

The volume mounts for a container for an Amazon EKS job.

public EksContainerVolumeMountProperty()
Remarks

For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html

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,
                 SubPath = "subPath"
             };

Properties

MountPath

The path on the container where the volume is mounted.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-mountpath

Name

The name the volume mount.

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

string

Remarks

This must match the name of one of the volumes in the pod.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-name

ReadOnly

If this value is true , the container has read-only access to the volume.

public object? ReadOnly { get; set; }
Property Value

object

Remarks

Otherwise, the container can write to the volume. The default value is false .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-readonly

Type union: either bool or IResolvable

SubPath

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

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-subpath

Implements

CfnJobDefinition.IEksContainerVolumeMountProperty
Back to top Generated by DocFX