ScraperLoggingConfiguration constructor

ScraperLoggingConfiguration(
  1. String name, {
  2. ScraperLoggingConfigurationArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new ScraperLoggingConfiguration. name The Pulumi resource name. args Arguments used to configure this ScraperLoggingConfiguration. The set of arguments for ScraperLoggingConfiguration. options Resource options controlling this resource's behavior.

Implementation

ScraperLoggingConfiguration(
  String name, {
  ScraperLoggingConfigurationArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:amp/scraperLoggingConfiguration:ScraperLoggingConfiguration',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  loggingDestination = registerOutput<ScraperLoggingConfigurationLoggingDestination>('loggingDestination', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ScraperLoggingConfigurationLoggingDestination.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  region = registerOutput<String>('region');
  scraperComponents = registerOutput<List<String>>('scraperComponents', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  scraperId = registerOutput<String>('scraperId');
  timeouts = registerOutput<ScraperLoggingConfigurationTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ScraperLoggingConfigurationTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}