Class: AWSCDK::Lex::CfnBotAlias::S3BucketLogDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBotAlias::S3BucketLogDestinationProperty
- Defined in:
- lex/cfn_bot_alias.rb
Overview
Specifies an Amazon S3 bucket for logging audio conversations.
Instance Attribute Summary collapse
-
#kms_key_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an Amazon S3 bucket.
-
#log_prefix ⇒ String
readonly
The S3 prefix to assign to audio log files.
-
#s3_bucket_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_prefix:, s3_bucket_arn:, kms_key_arn: nil) ⇒ S3BucketLogDestinationProperty
constructor
A new instance of S3BucketLogDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_prefix:, s3_bucket_arn:, kms_key_arn: nil) ⇒ S3BucketLogDestinationProperty
Returns a new instance of S3BucketLogDestinationProperty.
967 968 969 970 971 972 973 974 |
# File 'lex/cfn_bot_alias.rb', line 967 def initialize(log_prefix:, s3_bucket_arn:, kms_key_arn: nil) @log_prefix = log_prefix Jsii::Type.check_type(@log_prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logPrefix") @s3_bucket_arn = s3_bucket_arn Jsii::Type.check_type(@s3_bucket_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3BucketArn") @kms_key_arn = kms_key_arn Jsii::Type.check_type(@kms_key_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyArn") unless @kms_key_arn.nil? end |
Instance Attribute Details
#kms_key_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an Amazon S3 bucket.
990 991 992 |
# File 'lex/cfn_bot_alias.rb', line 990 def kms_key_arn @kms_key_arn end |
#log_prefix ⇒ String (readonly)
The S3 prefix to assign to audio log files.
980 981 982 |
# File 'lex/cfn_bot_alias.rb', line 980 def log_prefix @log_prefix end |
#s3_bucket_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
985 986 987 |
# File 'lex/cfn_bot_alias.rb', line 985 def s3_bucket_arn @s3_bucket_arn end |
Class Method Details
.jsii_properties ⇒ Object
992 993 994 995 996 997 998 |
# File 'lex/cfn_bot_alias.rb', line 992 def self.jsii_properties { :log_prefix => "logPrefix", :s3_bucket_arn => "s3BucketArn", :kms_key_arn => "kmsKeyArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1000 1001 1002 1003 1004 1005 1006 1007 1008 |
# File 'lex/cfn_bot_alias.rb', line 1000 def to_jsii result = {} result.merge!({ "logPrefix" => @log_prefix, "s3BucketArn" => @s3_bucket_arn, "kmsKeyArn" => @kms_key_arn, }) result.compact end |