PipelineBaseProps

class aws_cdk.pipelines.PipelineBaseProps(*, synth)

Bases: object

Properties for a Pipeline.

Parameters

synth (IFileSetProducer) – The build step that produces the CDK Cloud Assembly. The primary output of this step needs to be the cdk.out directory generated by the cdk synth command. If you use a ShellStep here and you don’t configure an output directory, the output directory will automatically be assumed to be cdk.out.

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.pipelines as pipelines

# file_set_producer: pipelines.IFileSetProducer

pipeline_base_props = pipelines.PipelineBaseProps(
    synth=file_set_producer
)

Attributes

synth

The build step that produces the CDK Cloud Assembly.

The primary output of this step needs to be the cdk.out directory generated by the cdk synth command.

If you use a ShellStep here and you don’t configure an output directory, the output directory will automatically be assumed to be cdk.out.

Return type

IFileSetProducer