Show / Hide Table of Contents

Interface CfnTelemetryRulePropsMixin.IWAFLoggingParametersProperty

Configuration parameters for WAF logging, including redacted fields and logging filters.

Namespace: Amazon.CDK.Mixins.Preview.AWS.ObservabilityAdmin.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnTelemetryRulePropsMixin.IWAFLoggingParametersProperty
Syntax (vb)
Public Interface CfnTelemetryRulePropsMixin.IWAFLoggingParametersProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-wafloggingparameters.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.ObservabilityAdmin.Mixins;

             var wAFLoggingParametersProperty = new WAFLoggingParametersProperty {
                 LoggingFilter = new LoggingFilterProperty {
                     DefaultBehavior = "defaultBehavior",
                     Filters = new [] { new FilterProperty {
                         Behavior = "behavior",
                         Conditions = new [] { new ConditionProperty {
                             ActionCondition = new ActionConditionProperty {
                                 Action = "action"
                             },
                             LabelNameCondition = new LabelNameConditionProperty {
                                 LabelName = "labelName"
                             }
                         } },
                         Requirement = "requirement"
                     } }
                 },
                 LogType = "logType",
                 RedactedFields = new [] { new FieldToMatchProperty {
                     Method = "method",
                     QueryString = "queryString",
                     SingleHeader = new SingleHeaderProperty {
                         Name = "name"
                     },
                     UriPath = "uriPath"
                 } }
             };

Synopsis

Properties

LogType

The type of WAF logs to collect (currently supports WAF_LOGS).

LoggingFilter

A filter configuration that determines which WAF log records to include or exclude.

RedactedFields

The fields to redact from WAF logs to protect sensitive information.

Properties

LogType

The type of WAF logs to collect (currently supports WAF_LOGS).

string? LogType { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-wafloggingparameters.html#cfn-observabilityadmin-telemetryrule-wafloggingparameters-logtype

LoggingFilter

A filter configuration that determines which WAF log records to include or exclude.

object? LoggingFilter { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-wafloggingparameters.html#cfn-observabilityadmin-telemetryrule-wafloggingparameters-loggingfilter

Type union: either IResolvable or CfnTelemetryRulePropsMixin.ILoggingFilterProperty

RedactedFields

The fields to redact from WAF logs to protect sensitive information.

object? RedactedFields { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-wafloggingparameters.html#cfn-observabilityadmin-telemetryrule-wafloggingparameters-redactedfields

Type union: either IResolvable or (either IResolvable or CfnTelemetryRulePropsMixin.IFieldToMatchProperty)[]

Back to top Generated by DocFX