Class: AWSCDK::Lex::CfnBot::TextLogDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::TextLogDestinationProperty
- Defined in:
- lex/cfn_bot.rb
Overview
Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
Instance Attribute Summary collapse
-
#cloud_watch ⇒ AWSCDK::IResolvable, AWSCDK::Lex::CfnBot::CloudWatchLogGroupLogDestinationProperty
readonly
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cloud_watch:) ⇒ TextLogDestinationProperty
constructor
A new instance of TextLogDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cloud_watch:) ⇒ TextLogDestinationProperty
Returns a new instance of TextLogDestinationProperty.
6561 6562 6563 6564 |
# File 'lex/cfn_bot.rb', line 6561 def initialize(cloud_watch:) @cloud_watch = cloud_watch.is_a?(Hash) ? ::AWSCDK::Lex::CfnBot::CloudWatchLogGroupLogDestinationProperty.new(**cloud_watch.transform_keys(&:to_sym)) : cloud_watch Jsii::Type.check_type(@cloud_watch, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19sZXguQ2ZuQm90LkNsb3VkV2F0Y2hMb2dHcm91cExvZ0Rlc3RpbmF0aW9uUHJvcGVydHkifV19fQ==")), "cloudWatch") end |
Instance Attribute Details
#cloud_watch ⇒ AWSCDK::IResolvable, AWSCDK::Lex::CfnBot::CloudWatchLogGroupLogDestinationProperty (readonly)
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
6570 6571 6572 |
# File 'lex/cfn_bot.rb', line 6570 def cloud_watch @cloud_watch end |
Class Method Details
.jsii_properties ⇒ Object
6572 6573 6574 6575 6576 |
# File 'lex/cfn_bot.rb', line 6572 def self.jsii_properties { :cloud_watch => "cloudWatch", } end |
Instance Method Details
#to_jsii ⇒ Object
6578 6579 6580 6581 6582 6583 6584 |
# File 'lex/cfn_bot.rb', line 6578 def to_jsii result = {} result.merge!({ "cloudWatch" => @cloud_watch, }) result.compact end |