# ScraperLoggingConfigurationProperty

Configuration for scraper logging.

- Source: Generated code
- Type last changed: v2.217.0 · 25 Sep 2025

## Example

```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 scraperLoggingConfigurationProperty: aps.CfnScraper.ScraperLoggingConfigurationProperty = {
  loggingDestination: {
    cloudWatchLogs: {
      logGroupArn: 'logGroupArn',
    },
  },
  scraperComponents: [{
    type: 'type',

    // the properties below are optional
    config: {
      options: {
        optionsKey: 'options',
      },
    },
  }],
};
```

## Properties

- `loggingDestination`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnScraper.ScraperLoggingDestinationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_aps.CfnScraper.ScraperLoggingDestinationProperty.html) (required) — Destination for scraper logging.

- `scraperComponents`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnScraper.ScraperComponentProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_aps.CfnScraper.ScraperComponentProperty.html)[] (required)
