> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# LoggingDestination

Represents a logging destination for AgentCore Runtime.

Use the static factory methods to create instances:
- `LoggingDestination.cloudWatchLogs(logGroup)` - Send logs to CloudWatch Logs
- `LoggingDestination.s3(bucket)` - Send logs to S3
- `LoggingDestination.firehose(stream)` - Send logs to Kinesis Data Firehose

- Source: [`lib/runtime/observability.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/runtime/observability.ts#L82)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
import { aws_logs as logs } from 'aws-cdk-lib';

declare const logGroup: logs.LogGroup;
const loggingDestination = bedrock_agentcore_alpha.LoggingDestination.cloudWatchLogs(logGroup);
```

## Initializer

```ts
new LoggingDestination()
```

## Methods

- `cloudWatchLogs(logGroup: ILogGroup): LoggingDestination // chainable` (static) — Create a logging destination that sends logs to a CloudWatch Log Group.

  **Parameters**

  - `logGroup` — The CloudWatch Log Group to send logs to.

- `firehose(stream: IDeliveryStream): LoggingDestination // chainable` (static) — Create a logging destination that sends logs to a Kinesis Data Firehose delivery stream.

  **Parameters**

  - `stream` — The Firehose delivery stream to send logs to.

- `s3(bucket: IBucket): LoggingDestination // chainable` (static) — Create a logging destination that sends logs to an S3 bucket.

  **Parameters**

  - `bucket` — The S3 bucket to send logs to.
