Interface CfnScraper.DestinationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScraper.DestinationProperty.Jsii$Proxy
- Enclosing class:
CfnScraper
@Stability(Stable)
public static interface CfnScraper.DestinationProperty
extends software.amazon.jsii.JsiiSerializable
Where to send the metrics from a scraper.
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.*;
DestinationProperty destinationProperty = DestinationProperty.builder()
.ampConfiguration(AmpConfigurationProperty.builder()
.workspaceArn("workspaceArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnScraper.DestinationPropertystatic final classAn implementation forCfnScraper.DestinationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The Amazon Managed Service for Prometheus workspace to send metrics to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmpConfiguration
The Amazon Managed Service for Prometheus workspace to send metrics to.Returns union: either
IResolvableorCfnScraper.AmpConfigurationProperty- See Also:
-
builder
-