# S3BucketLogDestinationProperty

Specifies an Amazon S3 bucket for logging audio conversations.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `kmsKeyArn`: 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.

- `logPrefix`: string (required) — The S3 prefix to assign to audio log files.

- `s3BucketArn`: string (required) — The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
