Class: AWSCDK::Lex::CfnBot::AudioLogDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::AudioLogDestinationProperty
- Defined in:
- lex/cfn_bot.rb
Overview
The location of audio log files collected when conversation logging is enabled for a bot.
Instance Attribute Summary collapse
-
#s3_bucket ⇒ AWSCDK::IResolvable, AWSCDK::Lex::CfnBot::S3BucketLogDestinationProperty
readonly
Specifies the Amazon S3 bucket where the audio files are stored.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_bucket:) ⇒ AudioLogDestinationProperty
constructor
A new instance of AudioLogDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_bucket:) ⇒ AudioLogDestinationProperty
Returns a new instance of AudioLogDestinationProperty.
877 878 879 880 |
# File 'lex/cfn_bot.rb', line 877 def initialize(s3_bucket:) @s3_bucket = s3_bucket.is_a?(Hash) ? ::AWSCDK::Lex::CfnBot::S3BucketLogDestinationProperty.new(**s3_bucket.transform_keys(&:to_sym)) : s3_bucket Jsii::Type.check_type(@s3_bucket, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19sZXguQ2ZuQm90LlMzQnVja2V0TG9nRGVzdGluYXRpb25Qcm9wZXJ0eSJ9XX19")), "s3Bucket") end |
Instance Attribute Details
#s3_bucket ⇒ AWSCDK::IResolvable, AWSCDK::Lex::CfnBot::S3BucketLogDestinationProperty (readonly)
Specifies the Amazon S3 bucket where the audio files are stored.
886 887 888 |
# File 'lex/cfn_bot.rb', line 886 def s3_bucket @s3_bucket end |
Class Method Details
.jsii_properties ⇒ Object
888 889 890 891 892 |
# File 'lex/cfn_bot.rb', line 888 def self.jsii_properties { :s3_bucket => "s3Bucket", } end |
Instance Method Details
#to_jsii ⇒ Object
894 895 896 897 898 899 900 |
# File 'lex/cfn_bot.rb', line 894 def to_jsii result = {} result.merge!({ "s3Bucket" => @s3_bucket, }) result.compact end |