Class Tmpfs
The details of a tmpfs mount for a container.
Implements
Inherited Members
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
Remarks
ExampleMetadata: fixture=_generated
MountOptions
The list of tmpfs volume mount options.
public TmpfsMountOption[]? MountOptions { get; set; }
Property Value
Remarks
For more information, see TmpfsMountOptions.
Default: none
Size
The size (in MiB) of the tmpfs volume.
public Size Size { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated