Class: AWSCDK::IoTThingsGraph::CfnFlowTemplate::DefinitionDocumentProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTThingsGraph::CfnFlowTemplate::DefinitionDocumentProperty
- Defined in:
- io_t_things_graph/cfn_flow_template.rb
Overview
Instance Attribute Summary collapse
- #language ⇒ String readonly
- #text ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(language:, text:) ⇒ DefinitionDocumentProperty
constructor
A new instance of DefinitionDocumentProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(language:, text:) ⇒ DefinitionDocumentProperty
Returns a new instance of DefinitionDocumentProperty.
507 508 509 510 511 512 |
# File 'io_t_things_graph/cfn_flow_template.rb', line 507 def initialize(language:, text:) @language = language Jsii::Type.check_type(@language, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "language") @text = text Jsii::Type.check_type(@text, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "text") end |
Instance Attribute Details
#language ⇒ String (readonly)
516 517 518 |
# File 'io_t_things_graph/cfn_flow_template.rb', line 516 def language @language end |
#text ⇒ String (readonly)
519 520 521 |
# File 'io_t_things_graph/cfn_flow_template.rb', line 519 def text @text end |
Class Method Details
.jsii_properties ⇒ Object
521 522 523 524 525 526 |
# File 'io_t_things_graph/cfn_flow_template.rb', line 521 def self.jsii_properties { :language => "language", :text => "text", } end |
Instance Method Details
#to_jsii ⇒ Object
528 529 530 531 532 533 534 535 |
# File 'io_t_things_graph/cfn_flow_template.rb', line 528 def to_jsii result = {} result.merge!({ "language" => @language, "text" => @text, }) result.compact end |