# LoggingConfig

Configuration for logging with log type and destination.

- Source: [`aws-bedrockagentcore/lib/runtime/observability.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-bedrockagentcore/lib/runtime/observability.ts#L48)
- Type last changed: v2.255.0 · 19 May 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';

declare const loggingDestination: bedrockagentcore.LoggingDestination;
declare const logType: bedrockagentcore.LogType;
const loggingConfig: bedrockagentcore.LoggingConfig = {
  destination: loggingDestination,
  logType: logType,
};
```

## Properties

- `destination`: [LoggingDestination](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.LoggingDestination.html) (required) — The destination for logs.

- `logType`: [LogType](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.LogType.html) (required) — The type of logs to deliver.
