interface Tmpfs
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Batch.Tmpfs |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#Tmpfs |
Java | software.amazon.awscdk.services.batch.Tmpfs |
Python | aws_cdk.aws_batch.Tmpfs |
TypeScript (source) | aws-cdk-lib » aws_batch » 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 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
Name | Type | Description |
---|---|---|
container | string | The absolute file path where the tmpfs volume is to be mounted. |
size | Size | The size (in MiB) of the tmpfs volume. |
mount | Tmpfs [] | 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:
Tmpfs
[]
(optional, default: none)
The list of tmpfs volume mount options.
For more information, see TmpfsMountOptions.