Interface IEfsFileSystemLocationProps
Construction properties for EfsFileSystemLocation
.
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEfsFileSystemLocationProps
Syntax (vb)
Public Interface IEfsFileSystemLocationProps
Remarks
ExampleMetadata: infused
Examples
new Project(this, "MyProject", new ProjectProps {
BuildSpec = BuildSpec.FromObject(new Dictionary<string, object> {
{ "version", "0.2" }
}),
FileSystemLocations = new [] { FileSystemLocation.Efs(new EfsFileSystemLocationProps {
Identifier = "myidentifier2",
Location = "myclodation.mydnsroot.com:/loc",
MountPoint = "/media",
MountOptions = "opts"
}) }
});
Synopsis
Properties
Identifier | The name used to access a file system created by Amazon EFS. |
Location | A string that specifies the location of the file system, like Amazon EFS. |
MountOptions | The mount options for a file system such as Amazon EFS. |
MountPoint | The location in the container where you mount the file system. |
Properties
Identifier
The name used to access a file system created by Amazon EFS.
string Identifier { get; }
Property Value
System.String
Location
A string that specifies the location of the file system, like Amazon EFS.
string Location { get; }
Property Value
System.String
Remarks
This value looks like fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory
.
MountOptions
The mount options for a file system such as Amazon EFS.
virtual string MountOptions { get; }
Property Value
System.String
Remarks
Default: 'nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2'.
MountPoint
The location in the container where you mount the file system.
string MountPoint { get; }
Property Value
System.String