Class: AWSCDK::Lex::CfnBot::ObfuscationSettingProperty

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

Overview

Determines whether Amazon Lex obscures slot values in conversation logs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obfuscation_setting_type:) ⇒ ObfuscationSettingProperty

Returns a new instance of ObfuscationSettingProperty.

Parameters:

  • obfuscation_setting_type (String)

    Value that determines whether Amazon Lex obscures slot values in conversation logs.



4068
4069
4070
4071
# File 'lex/cfn_bot.rb', line 4068

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

Instance Attribute Details

#obfuscation_setting_typeString (readonly)

Value that determines whether Amazon Lex obscures slot values in conversation logs.

The default is to obscure the values.



4079
4080
4081
# File 'lex/cfn_bot.rb', line 4079

def obfuscation_setting_type
  @obfuscation_setting_type
end

Class Method Details

.jsii_propertiesObject



4081
4082
4083
4084
4085
# File 'lex/cfn_bot.rb', line 4081

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

Instance Method Details

#to_jsiiObject



4087
4088
4089
4090
4091
4092
4093
# File 'lex/cfn_bot.rb', line 4087

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