Class: AWSCDK::Pipelines::PipelineBaseProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipelines::PipelineBaseProps
- Defined in:
- pipelines/pipeline_base_props.rb
Overview
Properties for a Pipeline.
Instance Attribute Summary collapse
-
#synth ⇒ AWSCDK::Pipelines::IFileSetProducer
readonly
The build step that produces the CDK Cloud Assembly.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(synth:) ⇒ PipelineBaseProps
constructor
A new instance of PipelineBaseProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(synth:) ⇒ PipelineBaseProps
Returns a new instance of PipelineBaseProps.
8 9 10 11 |
# File 'pipelines/pipeline_base_props.rb', line 8 def initialize(synth:) @synth = synth Jsii::Type.check_type(@synth, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5waXBlbGluZXMuSUZpbGVTZXRQcm9kdWNlciJ9")), "synth") end |
Instance Attribute Details
#synth ⇒ AWSCDK::Pipelines::IFileSetProducer (readonly)
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.
22 23 24 |
# File 'pipelines/pipeline_base_props.rb', line 22 def synth @synth end |
Class Method Details
.jsii_properties ⇒ Object
24 25 26 27 28 |
# File 'pipelines/pipeline_base_props.rb', line 24 def self.jsii_properties { :synth => "synth", } end |
Instance Method Details
#to_jsii ⇒ Object
30 31 32 33 34 35 36 |
# File 'pipelines/pipeline_base_props.rb', line 30 def to_jsii result = {} result.merge!({ "synth" => @synth, }) result.compact end |