Class CfnJobDefinition.TmpfsProperty
The container path, mount options, and size of the tmpfs
mount.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.AWS.Batch.dll
Syntax (csharp)
public class TmpfsProperty : Object, CfnJobDefinition.ITmpfsProperty
Syntax (vb)
Public Class TmpfsProperty
Inherits Object
Implements CfnJobDefinition.ITmpfsProperty
Remarks
This object isn't applicable to jobs that are running on Fargate resources.
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 tmpfsProperty = new TmpfsProperty {
ContainerPath = "containerPath",
Size = 123,
// the properties below are optional
MountOptions = new [] { "mountOptions" }
};
Synopsis
Constructors
TmpfsProperty() |
Properties
ContainerPath | The absolute file path in the container where the |
MountOptions | The list of |
Size | The size (in MiB) of the |
Constructors
TmpfsProperty()
public TmpfsProperty()
Properties
ContainerPath
The absolute file path in the container where the tmpfs
volume is mounted.
public string ContainerPath { get; set; }
Property Value
System.String
Remarks
MountOptions
The list of tmpfs
volume mount options.
public string[] MountOptions { get; set; }
Property Value
System.String[]
Remarks
Valid values: " defaults
" | " ro
" | " rw
" | " suid
" | " nosuid
" | " dev
" | " nodev
" | " exec
" | " noexec
" | " sync
" | " async
" | " dirsync
" | " remount
" | " mand
" | " nomand
" | " atime
" | " noatime
" | " diratime
" | " nodiratime
" | " bind
" | " rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime
" | " norelatime
" | " strictatime
" | " nostrictatime
" | " mode
" | " uid
" | " gid
" | " nr_inodes
" | " nr_blocks
" | " mpol
"
Size
The size (in MiB) of the tmpfs
volume.
public double Size { get; set; }
Property Value
System.Double