Skip to content
v2.277.0

FileSetLocation Struct ​

Location of a FileSet consumed or produced by a ShellStep.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { pipelines } from 'aws-cdk-lib';

declare const fileSet: pipelines.FileSet;
const fileSetLocation: pipelines.FileSetLocation = {
  directory: 'directory',
  fileSet: fileSet,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import pipelines

# file_set: pipelines.FileSet

file_set_location = pipelines.FileSetLocation(
    directory="directory",
    file_set=file_set
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.pipelines.*;

FileSet fileSet;

FileSetLocation fileSetLocation = FileSetLocation.builder()
        .directory("directory")
        .fileSet(fileSet)
        .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.Pipelines;

FileSet fileSet;

var fileSetLocation = new FileSetLocation {
    Directory = "directory",
    FileSet = fileSet
};
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"

var fileSet FileSet

fileSetLocation := &FileSetLocation{
	Directory: jsii.String("directory"),
	FileSet: fileSet,
}

Properties ​

directorystringdirectorystrdirectoryStringDirectorystringDirectory*string required #
The (relative) directory where the FileSet is found.
fileSetFileSetfile_setFileSetfileSetFileSetFileSetFileSetFileSetFileSet required #
The FileSet object.