Class: AWSCDK::Lex::CfnBotAlias::TextLogDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBotAlias::TextLogDestinationProperty
- Defined in:
- lex/cfn_bot_alias.rb
Overview
Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
Instance Attribute Summary collapse
-
#cloud_watch ⇒ AWSCDK::IResolvable, AWSCDK::Lex::CfnBotAlias::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.
1051 1052 1053 1054 |
# File 'lex/cfn_bot_alias.rb', line 1051 def initialize(cloud_watch:) @cloud_watch = cloud_watch.is_a?(Hash) ? ::AWSCDK::Lex::CfnBotAlias::CloudWatchLogGroupLogDestinationProperty.new(**cloud_watch.transform_keys(&:to_sym)) : cloud_watch Jsii::Type.check_type(@cloud_watch, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19sZXguQ2ZuQm90QWxpYXMuQ2xvdWRXYXRjaExvZ0dyb3VwTG9nRGVzdGluYXRpb25Qcm9wZXJ0eSJ9XX19")), "cloudWatch") end |
Instance Attribute Details
#cloud_watch ⇒ AWSCDK::IResolvable, AWSCDK::Lex::CfnBotAlias::CloudWatchLogGroupLogDestinationProperty (readonly)
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
1060 1061 1062 |
# File 'lex/cfn_bot_alias.rb', line 1060 def cloud_watch @cloud_watch end |
Class Method Details
.jsii_properties ⇒ Object
1062 1063 1064 1065 1066 |
# File 'lex/cfn_bot_alias.rb', line 1062 def self.jsii_properties { :cloud_watch => "cloudWatch", } end |
Instance Method Details
#to_jsii ⇒ Object
1068 1069 1070 1071 1072 1073 1074 |
# File 'lex/cfn_bot_alias.rb', line 1068 def to_jsii result = {} result.merge!({ "cloudWatch" => @cloud_watch, }) result.compact end |