ScrapeConfigurationProperty Struct
A scrape configuration for a scraper, base 64 encoded.
For more information, see Scraper configuration in the Amazon Managed Service for Prometheus User Guide .
| Source | |
|---|---|
| Type last changed |
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 scrapeConfigurationProperty: aps.CfnScraper.ScrapeConfigurationProperty = {
configurationBlob: 'configurationBlob',
};
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
// 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();
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"
};
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
configurationBlobstringconfiguration_blobstrconfigurationBlobStringConfigurationBlobstringConfigurationBlob*string required #The base 64 encoded scrape configuration file.