Show / Hide Table of Contents

Class Tmpfs

The details of a tmpfs mount for a container.

Inheritance
System.Object
Tmpfs
Implements
ITmpfs
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class Tmpfs : Object, ITmpfs
Syntax (vb)
Public Class Tmpfs
    Inherits Object
    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.AWS.ECS;

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

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

Synopsis

Constructors

Tmpfs()

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

public Tmpfs()

Properties

ContainerPath

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

public string ContainerPath { get; set; }
Property Value

System.String

MountOptions

The list of tmpfs volume mount options.

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

TmpfsMountOption[]

Remarks

For more information, see TmpfsMountOptions.

Size

The size (in MiB) of the tmpfs volume.

public double Size { get; set; }
Property Value

System.Double

Implements

ITmpfs
Back to top Generated by DocFX