# BindToCodePipelineOptions

The extra options passed to the `IProject.bindToCodePipeline` method.

- Source: [`aws-codebuild/lib/project.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-codebuild/lib/project.ts#L807)

## Example

TypeScript:

```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';
import { aws_s3 as s3 } from 'aws-cdk-lib';

declare const bucket: s3.Bucket;
const bindToCodePipelineOptions: codebuild.BindToCodePipelineOptions = {
  artifactBucket: bucket,
};
```

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 aws_codebuild as codebuild
from aws_cdk import aws_s3 as s3

# bucket: s3.Bucket

bind_to_code_pipeline_options = codebuild.BindToCodePipelineOptions(
    artifact_bucket=bucket
)
```

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.services.codebuild.*;
import software.amazon.awscdk.services.s3.*;

Bucket bucket;

BindToCodePipelineOptions bindToCodePipelineOptions = BindToCodePipelineOptions.builder()
        .artifactBucket(bucket)
        .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.AWS.CodeBuild;
using Amazon.CDK.AWS.S3;

Bucket bucket;

var bindToCodePipelineOptions = new BindToCodePipelineOptions {
    ArtifactBucket = bucket
};
```

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"
import "github.com/aws/aws-cdk-go/awscdk"

var bucket Bucket

bindToCodePipelineOptions := &BindToCodePipelineOptions{
	ArtifactBucket: bucket,
}
```

## Properties

- `artifactBucket`: [IBucket](/cdk/api/v2/docs/aws-cdk-lib.aws_s3.IBucket.html) (required) — The artifact bucket that will be used by the action that invokes this project.
