PipelineBaseProps Struct
Properties for a Pipeline.
| Source | pipelines/lib/main/pipeline-base.ts |
|---|
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';
declare const fileSetProducer: pipelines.IFileSetProducer;
const pipelineBaseProps: pipelines.PipelineBaseProps = {
synth: fileSetProducer,
};
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
# file_set_producer: pipelines.IFileSetProducer
pipeline_base_props = pipelines.PipelineBaseProps(
synth=file_set_producer
)
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.*;
IFileSetProducer fileSetProducer;
PipelineBaseProps pipelineBaseProps = PipelineBaseProps.builder()
.synth(fileSetProducer)
.build();
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;
IFileSetProducer fileSetProducer;
var pipelineBaseProps = new PipelineBaseProps {
Synth = fileSetProducer
};
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"
var fileSetProducer IFileSetProducer
pipelineBaseProps := &PipelineBaseProps{
Synth: fileSetProducer,
}
Properties
synthIFileSetProducersynthIFileSetProducersynthIFileSetProducerSynthIFileSetProducerSynthIFileSetProducer required #The build step that produces the CDK Cloud Assembly.
notes
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.