interface TmpfsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Batch.CfnJobDefinition.TmpfsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnJobDefinition_TmpfsProperty |
![]() | software.amazon.awscdk.services.batch.CfnJobDefinition.TmpfsProperty |
![]() | aws_cdk.aws_batch.CfnJobDefinition.TmpfsProperty |
![]() | aws-cdk-lib » aws_batch » CfnJobDefinition » TmpfsProperty |
The container path, mount options, and size of the tmpfs
mount.
This object isn't applicable to jobs that are running on Fargate resources.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const tmpfsProperty: batch.CfnJobDefinition.TmpfsProperty = {
containerPath: 'containerPath',
size: 123,
// the properties below are optional
mountOptions: ['mountOptions'],
};
Properties
Name | Type | Description |
---|---|---|
container | string | The absolute file path in the container where the tmpfs volume is mounted. |
size | number | The size (in MiB) of the tmpfs volume. |
mount | string[] | The list of tmpfs volume mount options. |
containerPath
Type:
string
The absolute file path in the container where the tmpfs
volume is mounted.
size
Type:
number
The size (in MiB) of the tmpfs
volume.
mountOptions?
Type:
string[]
(optional)
The list of tmpfs
volume mount options.
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
"