Class: AWSCDK::Omics::CfnWorkflow::SourceReferenceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Omics::CfnWorkflow::SourceReferenceProperty
- Defined in:
- omics/cfn_workflow.rb
Overview
Contains information about the source reference in a code repository, such as a branch, tag, or commit.
Instance Attribute Summary collapse
-
#type ⇒ String?
readonly
The type of source reference, such as branch, tag, or commit.
-
#value ⇒ String?
readonly
The value of the source reference, such as the branch name, tag name, or commit ID.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil, value: nil) ⇒ SourceReferenceProperty
constructor
A new instance of SourceReferenceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type: nil, value: nil) ⇒ SourceReferenceProperty
Returns a new instance of SourceReferenceProperty.
998 999 1000 1001 1002 1003 |
# File 'omics/cfn_workflow.rb', line 998 def initialize(type: nil, value: nil) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil? end |
Instance Attribute Details
#type ⇒ String? (readonly)
The type of source reference, such as branch, tag, or commit.
1009 1010 1011 |
# File 'omics/cfn_workflow.rb', line 1009 def type @type end |
#value ⇒ String? (readonly)
The value of the source reference, such as the branch name, tag name, or commit ID.
1014 1015 1016 |
# File 'omics/cfn_workflow.rb', line 1014 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1016 1017 1018 1019 1020 1021 |
# File 'omics/cfn_workflow.rb', line 1016 def self.jsii_properties { :type => "type", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1023 1024 1025 1026 1027 1028 1029 1030 |
# File 'omics/cfn_workflow.rb', line 1023 def to_jsii result = {} result.merge!({ "type" => @type, "value" => @value, }) result.compact end |