Class: AWSCDK::Lex::CfnBotVersion::BotVersionLocaleDetailsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
lex/cfn_bot_version.rb

Overview

The version of a bot used for a bot locale.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_bot_version:) ⇒ BotVersionLocaleDetailsProperty

Returns a new instance of BotVersionLocaleDetailsProperty.

Parameters:

  • source_bot_version (String)

    The version of a bot used for a bot locale.



530
531
532
533
# File 'lex/cfn_bot_version.rb', line 530

def initialize(source_bot_version:)
  @source_bot_version = source_bot_version
  Jsii::Type.check_type(@source_bot_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceBotVersion")
end

Instance Attribute Details

#source_bot_versionString (readonly)

The version of a bot used for a bot locale.



539
540
541
# File 'lex/cfn_bot_version.rb', line 539

def source_bot_version
  @source_bot_version
end

Class Method Details

.jsii_propertiesObject



541
542
543
544
545
# File 'lex/cfn_bot_version.rb', line 541

def self.jsii_properties
  {
    :source_bot_version => "sourceBotVersion",
  }
end

Instance Method Details

#to_jsiiObject



547
548
549
550
551
552
553
# File 'lex/cfn_bot_version.rb', line 547

def to_jsii
  result = {}
  result.merge!({
    "sourceBotVersion" => @source_bot_version,
  })
  result.compact
end