Class: AWSCDK::Lex::CfnBot::ErrorLogSettingsProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled:) ⇒ ErrorLogSettingsProperty

Returns a new instance of ErrorLogSettingsProperty.

Parameters:



2566
2567
2568
2569
# File 'lex/cfn_bot.rb', line 2566

def initialize(enabled:)
  @enabled = enabled
  Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled")
end

Instance Attribute Details

#enabledBoolean, AWSCDK::IResolvable (readonly)



2573
2574
2575
# File 'lex/cfn_bot.rb', line 2573

def enabled
  @enabled
end

Class Method Details

.jsii_propertiesObject



2575
2576
2577
2578
2579
# File 'lex/cfn_bot.rb', line 2575

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

Instance Method Details

#to_jsiiObject



2581
2582
2583
2584
2585
2586
2587
# File 'lex/cfn_bot.rb', line 2581

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