interface ScraperComponentProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.APS.CfnScraperPropsMixin.ScraperComponentProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsaps#CfnScraperPropsMixin_ScraperComponentProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.aps.CfnScraperPropsMixin.ScraperComponentProperty |
Python | aws_cdk.cfn_property_mixins.aws_aps.CfnScraperPropsMixin.ScraperComponentProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_aps » CfnScraperPropsMixin » ScraperComponentProperty |
A component of a Amazon Managed Service for Prometheus scraper that can be configured for logging.
Example
// 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/cfn-property-mixins';
const scraperComponentProperty: aps.CfnScraperPropsMixin.ScraperComponentProperty = {
config: {
options: {
optionsKey: 'options',
},
},
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| config? | IResolvable | Component | The configuration settings for the scraper component. |
| type? | string | The type of the scraper component. |
config?
Type:
IResolvable | Component
(optional)
The configuration settings for the scraper component.
type?
Type:
string
(optional)
The type of the scraper component.

.NET
Go
Java
Python
TypeScript