Class: AWSCDK::Codepipeline::CfnPipeline::InputArtifactProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Codepipeline::CfnPipeline::InputArtifactProperty
- Defined in:
- codepipeline/cfn_pipeline.rb
Overview
Represents information about an artifact to be worked on, such as a test or build artifact.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the artifact to be worked on (for example, "My App").
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:) ⇒ InputArtifactProperty
constructor
A new instance of InputArtifactProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:) ⇒ InputArtifactProperty
Returns a new instance of InputArtifactProperty.
1630 1631 1632 1633 |
# File 'codepipeline/cfn_pipeline.rb', line 1630 def initialize(name:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") end |
Instance Attribute Details
#name ⇒ String (readonly)
The name of the artifact to be worked on (for example, "My App").
Artifacts are the files that are worked on by actions in the pipeline. See the action configuration for each action for details about artifact parameters. For example, the S3 source action input artifact is a file name (or file path), and the files are generally provided as a ZIP file. Example artifact name: SampleApp_Windows.zip
The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
1643 1644 1645 |
# File 'codepipeline/cfn_pipeline.rb', line 1643 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
1645 1646 1647 1648 1649 |
# File 'codepipeline/cfn_pipeline.rb', line 1645 def self.jsii_properties { :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
1651 1652 1653 1654 1655 1656 1657 |
# File 'codepipeline/cfn_pipeline.rb', line 1651 def to_jsii result = {} result.merge!({ "name" => @name, }) result.compact end |