Skip to content
v2.277.0

FileSystemConfig Struct ​

The type returned from IFileSystemLocation#bind.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const fileSystemConfig: codebuild.FileSystemConfig = {
  location: {
    identifier: 'identifier',
    location: 'location',
    mountPoint: 'mountPoint',
    type: 'type',

    // the properties below are optional
    mountOptions: 'mountOptions',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codebuild as codebuild

file_system_config = codebuild.FileSystemConfig(
    location=codebuild.CfnProject.ProjectFileSystemLocationProperty(
        identifier="identifier",
        location="location",
        mount_point="mountPoint",
        type="type",

        # the properties below are optional
        mount_options="mountOptions"
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;

FileSystemConfig fileSystemConfig = FileSystemConfig.builder()
        .location(ProjectFileSystemLocationProperty.builder()
                .identifier("identifier")
                .location("location")
                .mountPoint("mountPoint")
                .type("type")

                // the properties below are optional
                .mountOptions("mountOptions")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;

var fileSystemConfig = new FileSystemConfig {
    Location = new ProjectFileSystemLocationProperty {
        Identifier = "identifier",
        Location = "location",
        MountPoint = "mountPoint",
        Type = "type",

        // the properties below are optional
        MountOptions = "mountOptions"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

fileSystemConfig := &FileSystemConfig{
	Location: &ProjectFileSystemLocationProperty{
		Identifier: jsii.String("identifier"),
		Location: jsii.String("location"),
		MountPoint: jsii.String("mountPoint"),
		Type: jsii.String("type"),

		// the properties below are optional
		MountOptions: jsii.String("mountOptions"),
	},
}

Properties ​