QueryLoggingConfiguration constructor

QueryLoggingConfiguration(
  1. String name, {
  2. QueryLoggingConfigurationArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

QueryLoggingConfiguration(
  String name, {
  QueryLoggingConfigurationArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:amp/queryLoggingConfiguration:QueryLoggingConfiguration',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  destinations = registerOutput<List<QueryLoggingConfigurationDestination>>('destinations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<QueryLoggingConfigurationDestination>(guardedValue, (value) => QueryLoggingConfigurationDestination.fromMap((value as Map).cast<String, dynamic>())); });
  region = registerOutput<String>('region');
  timeouts = registerOutput<QueryLoggingConfigurationTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return QueryLoggingConfigurationTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  workspaceId = registerOutput<String>('workspaceId');
}