Tmpfs Struct
The details of a tmpfs mount for a container.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_batch as batch } from 'aws-cdk-lib';
declare const size: cdk.Size;
const tmpfs: batch.Tmpfs = {
containerPath: 'containerPath',
size: size,
// the properties below are optional
mountOptions: [batch.TmpfsMountOption.DEFAULTS],
};
Properties
containerPathstringcontainer_pathstrcontainerPathStringContainerPathstringContainerPath*stringrequired#The absolute file path where the tmpfs volume is to be mounted.
mountOptionsoptionalTmpfsMountOption[]mount_optionsoptionaltyping.List[TmpfsMountOption]mountOptionsoptionalList<TmpfsMountOption>MountOptionsoptionalTmpfsMountOption[]MountOptionsoptional*[]TmpfsMountOption= none#The list of tmpfs volume mount options.
For more information, see TmpfsMountOptions.