Tmpfs

class aws_cdk.aws_ecs.Tmpfs(*, container_path, size, mount_options=None)

Bases: object

__init__(*, container_path, size, mount_options=None)

The details of a tmpfs mount for a container.

Parameters
  • container_path (str) – The absolute file path where the tmpfs volume is to be mounted.

  • size (Union[int, float]) – The size (in MiB) of the tmpfs volume.

  • mount_options (Optional[List[TmpfsMountOption]]) – The list of tmpfs volume mount options. For more information, see TmpfsMountOptions.

Attributes

container_path

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

Return type

str

mount_options

The list of tmpfs volume mount options.

For more information, see TmpfsMountOptions.

Return type

Optional[List[TmpfsMountOption]]

size

The size (in MiB) of the tmpfs volume.

Return type

Union[int, float]