# ScrapeConfigurationProperty

A scrape configuration for a scraper, base 64 encoded.

For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration) in the *Amazon Managed Service for Prometheus User Guide* .

- Source: Generated at build time
- Type last changed: v2.135.0 · 2 Apr 2024

## 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 scrapeConfigurationProperty: aps.CfnScraper.ScrapeConfigurationProperty = {
  configurationBlob: 'configurationBlob',
};
```

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

scrape_configuration_property = aps.CfnScraper.ScrapeConfigurationProperty(
    configuration_blob="configurationBlob"
)
```

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

ScrapeConfigurationProperty scrapeConfigurationProperty = ScrapeConfigurationProperty.builder()
        .configurationBlob("configurationBlob")
        .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 scrapeConfigurationProperty = new ScrapeConfigurationProperty {
    ConfigurationBlob = "configurationBlob"
};
```

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"

scrapeConfigurationProperty := &ScrapeConfigurationProperty{
	ConfigurationBlob: jsii.String("configurationBlob"),
}
```

## Properties

- `configurationBlob`: string (required) — The base 64 encoded scrape configuration file.
