S3BucketLogDestinationProperty Struct
Specifies an Amazon S3 bucket for logging audio conversations.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const s3BucketLogDestinationProperty: lex.CfnBot.S3BucketLogDestinationProperty = {
logPrefix: 'logPrefix',
s3BucketArn: 's3BucketArn',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex
s3_bucket_log_destination_property = lex.CfnBot.S3BucketLogDestinationProperty(
log_prefix="logPrefix",
s3_bucket_arn="s3BucketArn",
# the properties below are optional
kms_key_arn="kmsKeyArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;
S3BucketLogDestinationProperty s3BucketLogDestinationProperty = S3BucketLogDestinationProperty.builder()
.logPrefix("logPrefix")
.s3BucketArn("s3BucketArn")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var s3BucketLogDestinationProperty = new S3BucketLogDestinationProperty {
LogPrefix = "logPrefix",
S3BucketArn = "s3BucketArn",
// the properties below are optional
KmsKeyArn = "kmsKeyArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
s3BucketLogDestinationProperty := &S3BucketLogDestinationProperty{
LogPrefix: jsii.String("logPrefix"),
S3BucketArn: jsii.String("s3BucketArn"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
}
Properties
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string#The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an Amazon S3 bucket.
The S3 prefix to assign to audio log files.
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.