# PipelineReference

A reference to a Pipeline resource.

- Source: Generated at build time
- Type last changed: v2.262.0 · 22 Jul 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as interfaces_codepipeline } from 'aws-cdk-lib/interfaces';
const pipelineReference: interfaces_codepipeline.PipelineReference = {
  pipelineArn: 'pipelineArn',
  pipelineName: 'pipelineName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_codepipeline as interfaces_codepipeline

pipeline_reference = interfaces_codepipeline.PipelineReference(
    pipeline_arn="pipelineArn",
    pipeline_name="pipelineName"
)
```

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.interfaces.codepipeline.*;

PipelineReference pipelineReference = PipelineReference.builder()
        .pipelineArn("pipelineArn")
        .pipelineName("pipelineName")
        .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.Interfaces.CodePipeline;

var pipelineReference = new PipelineReference {
    PipelineArn = "pipelineArn",
    PipelineName = "pipelineName"
};
```

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"

pipelineReference := &PipelineReference{
	PipelineArn: jsii.String("pipelineArn"),
	PipelineName: jsii.String("pipelineName"),
}
```

## Properties

- `pipelineArn`: string (required) — The ARN of the Pipeline resource.

- `pipelineName`: string (required) — The Name of the Pipeline resource.
