# ScraperComponentProperty

A component of a Amazon Managed Service for Prometheus scraper that can be configured for 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 scraperComponentProperty: aps.CfnScraper.ScraperComponentProperty = {
  type: 'type',

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

## Properties

- `config`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnScraper.ComponentConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_aps.CfnScraper.ComponentConfigProperty.html) — The configuration settings for the scraper component.

- `type`: string (required) — The type of the scraper component.
