Class: AWSCDK::Lex::CfnBot::AudioLogDestinationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_bucket:) ⇒ AudioLogDestinationProperty

Returns a new instance of AudioLogDestinationProperty.

Parameters:



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_bucketAWSCDK::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_propertiesObject



888
889
890
891
892
# File 'lex/cfn_bot.rb', line 888

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

Instance Method Details

#to_jsiiObject



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