# ArtifactMap

Translate FileSets to CodePipeline Artifacts.

- Source: [`pipelines/lib/codepipeline/artifact-map.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/pipelines/lib/codepipeline/artifact-map.ts#L9)

## 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';
const artifactMap = new pipelines.ArtifactMap();
```

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

artifact_map = pipelines.ArtifactMap()
```

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

ArtifactMap artifactMap = new ArtifactMap();
```

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;

var artifactMap = new ArtifactMap();
```

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"

artifactMap := awscdk.Pipelines.NewArtifactMap()
```

## Initializer

TypeScript:

```ts
new ArtifactMap()
```

Python:

```python
ArtifactMap()
```

Java:

```java
new ArtifactMap()
```

C# / .NET:

```csharp
new ArtifactMap()
```

Golang:

```go
NewArtifactMap()
```

## Methods

- `toCodePipeline(x: FileSet): Artifact` — Return the matching CodePipeline artifact for a FileSet.
