Class: AWSCDK::Omics::CfnWorkflowVersion::SourceReferenceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Omics::CfnWorkflowVersion::SourceReferenceProperty
- Defined in:
- omics/cfn_workflow_version.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.
991 992 993 994 995 996 |
# File 'omics/cfn_workflow_version.rb', line 991 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.
1002 1003 1004 |
# File 'omics/cfn_workflow_version.rb', line 1002 def type @type end |
#value ⇒ String? (readonly)
The value of the source reference, such as the branch name, tag name, or commit ID.
1007 1008 1009 |
# File 'omics/cfn_workflow_version.rb', line 1007 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1009 1010 1011 1012 1013 1014 |
# File 'omics/cfn_workflow_version.rb', line 1009 def self.jsii_properties { :type => "type", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1016 1017 1018 1019 1020 1021 1022 1023 |
# File 'omics/cfn_workflow_version.rb', line 1016 def to_jsii result = {} result.merge!({ "type" => @type, "value" => @value, }) result.compact end |