interface Tmpfs
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.Tmpfs |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#Tmpfs |
![]() | software.amazon.awscdk.services.ecs.Tmpfs |
![]() | aws_cdk.aws_ecs.Tmpfs |
![]() | aws-cdk-lib » aws_ecs » 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 { aws_ecs as ecs } from 'aws-cdk-lib';
const tmpfs: ecs.Tmpfs = {
containerPath: 'containerPath',
size: 123,
// the properties below are optional
mountOptions: [ecs.TmpfsMountOption.DEFAULTS],
};
Properties
Name | Type | Description |
---|---|---|
container | string | The absolute file path where the tmpfs volume is to be mounted. |
size | number | 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:
number
The size (in MiB) of the tmpfs volume.
mountOptions?
Type:
Tmpfs
[]
(optional)
The list of tmpfs volume mount options.
For more information, see TmpfsMountOptions.