@aws-cdk_aws-batch-alpha.Tmpfs

interface Tmpfs ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Batch.Alpha.Tmpfs
Gogithub.com/aws/aws-cdk-go/awscdkbatchalpha/v2#Tmpfs
Javasoftware.amazon.awscdk.services.batch.alpha.Tmpfs
Pythonaws_cdk.aws_batch_alpha.Tmpfs
TypeScript (source)@aws-cdk/aws-batch-alpha ยป Tmpfs

The details of a tmpfs mount for a container.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as batch_alpha from '@aws-cdk/aws-batch-alpha';
import * as cdk from 'aws-cdk-lib';

declare const size: cdk.Size;
const tmpfs: batch_alpha.Tmpfs = {
  containerPath: 'containerPath',
  size: size,

  // the properties below are optional
  mountOptions: [batch_alpha.TmpfsMountOption.DEFAULTS],
};

Properties

NameTypeDescription
containerPath๐Ÿ”นstringThe absolute file path where the tmpfs volume is to be mounted.
size๐Ÿ”นSizeThe size (in MiB) of the tmpfs volume.
mountOptions?๐Ÿ”นTmpfsMountOption[]The list of tmpfs volume mount options.

containerPath๐Ÿ”น

Type: string

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


size๐Ÿ”น

Type: Size

The size (in MiB) of the tmpfs volume.


mountOptions?๐Ÿ”น

Type: TmpfsMountOption[] (optional, default: none)

The list of tmpfs volume mount options.

For more information, see TmpfsMountOptions.