WebAclLoggingConfiguration constructor

WebAclLoggingConfiguration(
  1. String name, {
  2. WebAclLoggingConfigurationArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

WebAclLoggingConfiguration(
  String name, {
  WebAclLoggingConfigurationArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:wafv2/webAclLoggingConfiguration:WebAclLoggingConfiguration',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  logDestinationConfigs = registerOutput<List<String>>('logDestinationConfigs', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  loggingFilter = registerOutput<WebAclLoggingConfigurationLoggingFilter?>('loggingFilter', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return WebAclLoggingConfigurationLoggingFilter.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  redactedFields = registerOutput<List<WebAclLoggingConfigurationRedactedField>?>('redactedFields', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<WebAclLoggingConfigurationRedactedField>(guardedValue, (value) => WebAclLoggingConfigurationRedactedField.fromMap((value as Map).cast<String, dynamic>())); });
  region = registerOutput<String>('region');
  resourceArn = registerOutput<String>('resourceArn');
}