interface TmpfsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnTaskDefinitionPropsMixin.TmpfsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnTaskDefinitionPropsMixin_TmpfsProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnTaskDefinitionPropsMixin.TmpfsProperty |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnTaskDefinitionPropsMixin.TmpfsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnTaskDefinitionPropsMixin » TmpfsProperty |
The container path, mount options, and size of the tmpfs mount.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ecs_mixins } from '@aws-cdk/mixins-preview/aws-ecs';
const tmpfsProperty: ecs_mixins.CfnTaskDefinitionPropsMixin.TmpfsProperty = {
containerPath: 'containerPath',
mountOptions: ['mountOptions'],
size: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| container | string | The absolute file path where the tmpfs volume is to be mounted. |
| mount | string[] | The list of tmpfs volume mount options. |
| size? | number | The maximum size (in MiB) of the tmpfs volume. |
containerPath?
Type:
string
(optional)
The absolute file path where the tmpfs volume is to be mounted.
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"
size?
Type:
number
(optional)
The maximum size (in MiB) of the tmpfs volume.

.NET
Go
Java
Python
TypeScript