# PipelineBaseProps

Properties for a `Pipeline`.

Used as props by: [PipelineBase](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines.PipelineBase.html)

- Source: [`pipelines/lib/main/pipeline-base.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/pipelines/lib/main/pipeline-base.ts#L13)

## Example

TypeScript:

```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 fileSetProducer: pipelines.IFileSetProducer;
const pipelineBaseProps: pipelines.PipelineBaseProps = {
  synth: fileSetProducer,
};
```

Python:

```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_producer: pipelines.IFileSetProducer

pipeline_base_props = pipelines.PipelineBaseProps(
    synth=file_set_producer
)
```

Java:

```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.*;

IFileSetProducer fileSetProducer;

PipelineBaseProps pipelineBaseProps = PipelineBaseProps.builder()
        .synth(fileSetProducer)
        .build();
```

C# / .NET:

```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;

IFileSetProducer fileSetProducer;

var pipelineBaseProps = new PipelineBaseProps {
    Synth = fileSetProducer
};
```

Golang:

```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 fileSetProducer IFileSetProducer

pipelineBaseProps := &PipelineBaseProps{
	Synth: fileSetProducer,
}
```

## Properties

- `synth`: [IFileSetProducer](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines.IFileSetProducer.html) (required) — The build step that produces the CDK Cloud Assembly.

  The primary output of this step needs to be the `cdk.out` directory
  generated by the `cdk synth` command.

  If you use a `ShellStep` here and you don't configure an output directory,
  the output directory will automatically be assumed to be `cdk.out`.
