Interface CfnScraper.SourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScraper.SourceProperty.Jsii$Proxy
- Enclosing class:
CfnScraper
@Stability(Stable)
public static interface CfnScraper.SourceProperty
extends software.amazon.jsii.JsiiSerializable
The source of collected metrics for 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.*;
SourceProperty sourceProperty = SourceProperty.builder()
.eksConfiguration(EksConfigurationProperty.builder()
.clusterArn("clusterArn")
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.securityGroupIds(List.of("securityGroupIds"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnScraper.SourcePropertystatic final classAn implementation forCfnScraper.SourceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The Amazon EKS cluster from which a scraper collects metrics.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEksConfiguration
The Amazon EKS cluster from which a scraper collects metrics.Returns union: either
IResolvableorCfnScraper.EksConfigurationProperty- See Also:
-
builder
- Returns:
- a
CfnScraper.SourceProperty.BuilderofCfnScraper.SourceProperty
-