ScraperComponentProperty Struct
A component of a Amazon Managed Service for Prometheus scraper that can be configured for logging.
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
configoptionalIResolvable | CfnScraper.ComponentConfigPropertyconfigoptionaltyping.Union[IResolvable, ComponentConfigProperty]configoptionalIResolvableConfigoptionalIResolvableConfigoptionalinterface{}#The configuration settings for the scraper component.
The type of the scraper component.