Show / Hide Table of Contents

Class Tmpfs

The details of a tmpfs mount for a container.

Inheritance
object
Tmpfs
Implements
ITmpfs
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 Tmpfs : ITmpfs
Syntax (vb)
Public Class Tmpfs Implements ITmpfs
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;
            using Amazon.CDK.AWS.Batch;

            Size size;

            var tmpfs = new Tmpfs {
                ContainerPath = "containerPath",
                Size = size,

                // the properties below are optional
                MountOptions = new [] { TmpfsMountOption.DEFAULTS }
            };

Synopsis

Constructors

Tmpfs()

The details of a tmpfs mount for a container.

Properties

ContainerPath

The absolute file path where the tmpfs volume is to be mounted.

MountOptions

The list of tmpfs volume mount options.

Size

The size (in MiB) of the tmpfs volume.

Constructors

Tmpfs()

The details of a tmpfs mount for a container.

public Tmpfs()
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;
            using Amazon.CDK.AWS.Batch;

            Size size;

            var tmpfs = new Tmpfs {
                ContainerPath = "containerPath",
                Size = size,

                // the properties below are optional
                MountOptions = new [] { TmpfsMountOption.DEFAULTS }
            };

Properties

ContainerPath

The absolute file path where the tmpfs volume is to be mounted.

public string ContainerPath { get; set; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

MountOptions

The list of tmpfs volume mount options.

public TmpfsMountOption[]? MountOptions { get; set; }
Property Value

TmpfsMountOption[]

Remarks

For more information, see TmpfsMountOptions.

Default: none

Size

The size (in MiB) of the tmpfs volume.

public Size Size { get; set; }
Property Value

Size

Remarks

ExampleMetadata: fixture=_generated

Implements

ITmpfs
Back to top Generated by DocFX