Interface CfnScraper.ScraperComponentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScraper.ScraperComponentProperty.Jsii$Proxy
- Enclosing class:
CfnScraper
@Stability(Stable)
public static interface CfnScraper.ScraperComponentProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.aps.*;
ScraperComponentProperty scraperComponentProperty = ScraperComponentProperty.builder()
.type("type")
// the properties below are optional
.config(ComponentConfigProperty.builder()
.options(Map.of(
"optionsKey", "options"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnScraper.ScraperComponentPropertystatic final classAn implementation forCfnScraper.ScraperComponentProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of the scraper component.- See Also:
-
getConfig
The configuration settings for the scraper component.Returns union: either
IResolvableorCfnScraper.ComponentConfigProperty- See Also:
-
builder
-