Module: AWSCDK::CodeBuild::IArtifacts
- Included in:
- Artifacts
- Defined in:
- code_build/i_artifacts.rb
Overview
The abstract interface of a CodeBuild build output.
Implemented by Artifacts.
Class Method Summary collapse
Instance Method Summary collapse
-
#bind(scope, project) ⇒ AWSCDK::CodeBuild::ArtifactsConfig
Callback when an Artifacts class is used in a CodeBuild Project.
-
#identifier ⇒ String?
The artifact identifier.
-
#type ⇒ String
The CodeBuild type of this artifact.
Class Method Details
.jsii_overridable_methods ⇒ Object
36 37 38 39 40 41 42 |
# File 'code_build/i_artifacts.rb', line 36 def self.jsii_overridable_methods { :type => { kind: :property, name: "type", is_optional: false }, :identifier => { kind: :property, name: "identifier", is_optional: true }, :bind => { kind: :method, name: "bind", is_optional: false }, } end |
Instance Method Details
#bind(scope, project) ⇒ AWSCDK::CodeBuild::ArtifactsConfig
Callback when an Artifacts class is used in a CodeBuild Project.
30 31 32 33 34 |
# File 'code_build/i_artifacts.rb', line 30 def bind(scope, project) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") Jsii::Type.check_type(project, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWJ1aWxkLklQcm9qZWN0In0=")), "project") jsii_call_method("bind", [scope, project]) end |
#identifier ⇒ String?
The artifact identifier.
This property is required on secondary artifacts.
21 22 23 |
# File 'code_build/i_artifacts.rb', line 21 def identifier() jsii_get_property("identifier") end |
#type ⇒ String
The CodeBuild type of this artifact.
12 13 14 |
# File 'code_build/i_artifacts.rb', line 12 def type() jsii_get_property("type") end |