Class: AWSCDK::Lex::CfnBotAlias::AudioLogDestinationProperty

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

Overview

Specifies the S3 bucket location where audio logs are stored.

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:



631
632
633
634
# File 'lex/cfn_bot_alias.rb', line 631

def initialize(s3_bucket:)
  @s3_bucket = s3_bucket.is_a?(Hash) ? ::AWSCDK::Lex::CfnBotAlias::S3BucketLogDestinationProperty.new(**s3_bucket.transform_keys(&:to_sym)) : s3_bucket
  Jsii::Type.check_type(@s3_bucket, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19sZXguQ2ZuQm90QWxpYXMuUzNCdWNrZXRMb2dEZXN0aW5hdGlvblByb3BlcnR5In1dfX0=")), "s3Bucket")
end

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



642
643
644
645
646
# File 'lex/cfn_bot_alias.rb', line 642

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

Instance Method Details

#to_jsiiObject



648
649
650
651
652
653
654
# File 'lex/cfn_bot_alias.rb', line 648

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