Interface CfnTaskDefinition.ITmpfsProperty
The container path, mount options, and size of the tmpfs mount.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface ITmpfsProperty
Syntax (vb)
Public Interface 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
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. |
Properties
ContainerPath
The absolute file path where the tmpfs volume is to be mounted.
virtual string ContainerPath { get; }
Property Value
System.String
Remarks
MountOptions
The list of tmpfs volume mount options.
virtual string[] MountOptions { get; }
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.
double Size { get; }
Property Value
System.Double