# ScraperLoggingDestinationProperty

The destination where scraper logs are sent.

- Source: Generated at build time
- Type last changed: v2.217.0 · 25 Sep 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aps as aps } from 'aws-cdk-lib';
const scraperLoggingDestinationProperty: aps.CfnScraper.ScraperLoggingDestinationProperty = {
  cloudWatchLogs: {
    logGroupArn: 'logGroupArn',
  },
};
```

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_aps as aps

scraper_logging_destination_property = aps.CfnScraper.ScraperLoggingDestinationProperty(
    cloud_watch_logs=aps.CfnScraper.CloudWatchLogDestinationProperty(
        log_group_arn="logGroupArn"
    )
)
```

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.aps.*;

ScraperLoggingDestinationProperty scraperLoggingDestinationProperty = ScraperLoggingDestinationProperty.builder()
        .cloudWatchLogs(CloudWatchLogDestinationProperty.builder()
                .logGroupArn("logGroupArn")
                .build())
        .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.APS;

var scraperLoggingDestinationProperty = new ScraperLoggingDestinationProperty {
    CloudWatchLogs = new CloudWatchLogDestinationProperty {
        LogGroupArn = "logGroupArn"
    }
};
```

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"

scraperLoggingDestinationProperty := &ScraperLoggingDestinationProperty{
	CloudWatchLogs: &CloudWatchLogDestinationProperty{
		LogGroupArn: jsii.String("logGroupArn"),
	},
}
```

## Properties

- `cloudWatchLogs`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnScraper.CloudWatchLogDestinationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_aps.CfnScraper.CloudWatchLogDestinationProperty.html) — The CloudWatch Logs configuration for the scraper logging destination.
