Class: AWSCDK::IoTThingsGraph::CfnFlowTemplate::DefinitionDocumentProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_things_graph/cfn_flow_template.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(language:, text:) ⇒ DefinitionDocumentProperty

Returns a new instance of DefinitionDocumentProperty.

Parameters:

  • language (String)
  • text (String)


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

#languageString (readonly)



516
517
518
# File 'io_t_things_graph/cfn_flow_template.rb', line 516

def language
  @language
end

#textString (readonly)



519
520
521
# File 'io_t_things_graph/cfn_flow_template.rb', line 519

def text
  @text
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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