AdditionalArtifact

class aws_cdk.pipelines.AdditionalArtifact(*, artifact, directory)

Bases: object

(deprecated) Specification of an additional artifact to generate.

Parameters
  • artifact (Artifact) – (deprecated) Artifact to represent the build directory in the pipeline.

  • directory (str) – (deprecated) Directory to be packaged.

Deprecated

This class is part of the old API. Use the API based on the CodePipeline class instead

Stability

deprecated

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_codepipeline as codepipeline
import aws_cdk.pipelines as pipelines

# artifact: codepipeline.Artifact

additional_artifact = pipelines.AdditionalArtifact(
    artifact=artifact,
    directory="directory"
)

Attributes

artifact

(deprecated) Artifact to represent the build directory in the pipeline.

Stability

deprecated

Return type

Artifact

directory

(deprecated) Directory to be packaged.

Stability

deprecated

Return type

str