Skip to content
v2.273.0

ArtifactMap Class ​

Translate FileSets to CodePipeline Artifacts.

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

ts
new ArtifactMap()
python
ArtifactMap()
java
new ArtifactMap()
csharp
new ArtifactMap()
go
NewArtifactMap()

Methods ​

toCodePipeline(x: FileSet): Artifactdef to_code_pipeline(self, x: FileSet) -> Artifactpublic Artifact toCodePipeline(FileSet x)public Artifact ToCodePipeline(FileSet x)func ToCodePipeline(X FileSet) Artifact#
Return the matching CodePipeline artifact for a FileSet.