interface EfsFileSystemLocationProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.EfsFileSystemLocationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#EfsFileSystemLocationProps |
Java | software.amazon.awscdk.services.codebuild.EfsFileSystemLocationProps |
Python | aws_cdk.aws_codebuild.EfsFileSystemLocationProps |
TypeScript (source) | aws-cdk-lib » aws_codebuild » EfsFileSystemLocationProps |
Construction properties for EfsFileSystemLocation
.
Example
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
Name | Type | Description |
---|---|---|
identifier | string | The name used to access a file system created by Amazon EFS. |
location | string | A string that specifies the location of the file system, like Amazon EFS. |
mount | string | The location in the container where you mount the file system. |
mount | string | The mount options for a file system such as Amazon EFS. |
identifier
Type:
string
The name used to access a file system created by Amazon EFS.
location
Type:
string
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
.
mountPoint
Type:
string
The location in the container where you mount the file system.
mountOptions?
Type:
string
(optional, default: 'nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2'.)
The mount options for a file system such as Amazon EFS.