Class: AWSCDK::Lex::CfnBotAlias::AudioLogDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBotAlias::AudioLogDestinationProperty
- Defined in:
- lex/cfn_bot_alias.rb
Overview
Specifies the S3 bucket location where audio logs are stored.
Instance Attribute Summary collapse
-
#s3_bucket ⇒ AWSCDK::IResolvable, AWSCDK::Lex::CfnBotAlias::S3BucketLogDestinationProperty
readonly
The S3 bucket location where audio logs 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.
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
#s3_bucket ⇒ AWSCDK::IResolvable, AWSCDK::Lex::CfnBotAlias::S3BucketLogDestinationProperty (readonly)
The S3 bucket location where audio logs are stored.
640 641 642 |
# File 'lex/cfn_bot_alias.rb', line 640 def s3_bucket @s3_bucket end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |