class aws_cdk.aws_codebuild.FileSystemLocation

Bases: object

FileSystemLocation provider definition for a CodeBuild Project.

Static Methods

classmethod efs(*, identifier, location, mount_point, mount_options=None)

EFS file system provider.

  • identifier (str) – The name used to access a file system created by Amazon EFS.

  • location (str) – A string that specifies the location of the file system, like Amazon EFS.

  • mount_point (str) – The location in the container where you mount the file system.

  • mount_options (Optional[str]) – The mount options for a file system such as Amazon EFS. Default: ‘nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2’.

Return type