EfsFileSystemLocationProps Struct
Construction properties for EfsFileSystemLocation.
Example
ts
new codebuild.Project(this, 'MyProject', {
buildSpec: codebuild.BuildSpec.fromObject({
version: '0.2',
}),
fileSystemLocations: [
codebuild.FileSystemLocation.efs({
identifier: "myidentifier2",
location: "myclodation.mydnsroot.com:/loc",
mountPoint: "/media",
mountOptions: "opts"
})
]
});
Properties
The name used to access a file system created by Amazon EFS.
A string that specifies the location of the file system, like Amazon EFS.
This value looks like fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
mountOptionsstringmount_optionsstrmountOptionsStringMountOptionsstringMountOptions*string= 'nfsvers=4.1,rsize=1048576,wsize…#The mount options for a file system such as Amazon EFS.
default
Default: 'nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2'.
The location in the container where you mount the file system.