Class CfnTaskDefinition.TmpfsProperty
The container path, mount options, and size of the tmpfs mount.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class TmpfsProperty : Object, CfnTaskDefinition.ITmpfsProperty
Syntax (vb)
Public Class TmpfsProperty
Inherits Object
Implements CfnTaskDefinition.ITmpfsProperty
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 tmpfsProperty = new TmpfsProperty {
Size = 123,
// the properties below are optional
ContainerPath = "containerPath",
MountOptions = new [] { "mountOptions" }
};
Synopsis
Constructors
TmpfsProperty() |
Properties
ContainerPath | The absolute file path where the tmpfs volume is to be mounted. |
MountOptions | The list of tmpfs volume mount options. |
Size | The maximum size (in MiB) of the tmpfs volume. |
Constructors
TmpfsProperty()
public TmpfsProperty()
Properties
ContainerPath
The absolute file path where the tmpfs volume is to be 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 maximum size (in MiB) of the tmpfs volume.
public double Size { get; set; }
Property Value
System.Double