Class: AWSCDK::Pipelines::PipelineBaseProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
pipelines/pipeline_base_props.rb

Overview

Properties for a Pipeline.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(synth:) ⇒ PipelineBaseProps

Returns a new instance of PipelineBaseProps.

Parameters:



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

#synthAWSCDK::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_propertiesObject



24
25
26
27
28
# File 'pipelines/pipeline_base_props.rb', line 24

def self.jsii_properties
  {
    :synth => "synth",
  }
end

Instance Method Details

#to_jsiiObject



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