Interface CfnScraperProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnScraperProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)", date="2025-10-24T13:34:31.550Z") @Stability(Stable) public interface CfnScraperProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnScraper.

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.*;
 CfnScraperProps cfnScraperProps = CfnScraperProps.builder()
         .destination(DestinationProperty.builder()
                 .ampConfiguration(AmpConfigurationProperty.builder()
                         .workspaceArn("workspaceArn")
                         .build())
                 .build())
         .scrapeConfiguration(ScrapeConfigurationProperty.builder()
                 .configurationBlob("configurationBlob")
                 .build())
         .source(SourceProperty.builder()
                 .eksConfiguration(EksConfigurationProperty.builder()
                         .clusterArn("clusterArn")
                         .subnetIds(List.of("subnetIds"))
                         // the properties below are optional
                         .securityGroupIds(List.of("securityGroupIds"))
                         .build())
                 .build())
         // the properties below are optional
         .alias("alias")
         .roleConfiguration(RoleConfigurationProperty.builder()
                 .sourceRoleArn("sourceRoleArn")
                 .targetRoleArn("targetRoleArn")
                 .build())
         .scraperLoggingConfiguration(ScraperLoggingConfigurationProperty.builder()
                 .loggingDestination(ScraperLoggingDestinationProperty.builder()
                         .cloudWatchLogs(CloudWatchLogDestinationProperty.builder()
                                 .logGroupArn("logGroupArn")
                                 .build())
                         .build())
                 .scraperComponents(List.of(ScraperComponentProperty.builder()
                         .type("type")
                         // the properties below are optional
                         .config(ComponentConfigProperty.builder()
                                 .options(Map.of(
                                         "optionsKey", "options"))
                                 .build())
                         .build()))
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: