Show / Hide Table of Contents

Interface CfnTelemetryRule.IFieldToMatchProperty

Specifies a field in the request to redact from WAF logs, such as headers, query parameters, or body content.

Namespace: Amazon.CDK.AWS.ObservabilityAdmin
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTelemetryRule.IFieldToMatchProperty
Syntax (vb)
Public Interface CfnTelemetryRule.IFieldToMatchProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-fieldtomatch.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.AWS.ObservabilityAdmin;

             var fieldToMatchProperty = new FieldToMatchProperty {
                 Method = "method",
                 QueryString = "queryString",
                 SingleHeader = new SingleHeaderProperty {
                     Name = "name"
                 },
                 UriPath = "uriPath"
             };

Synopsis

Properties

Method

Redacts the HTTP method from WAF logs.

QueryString

Redacts the entire query string from WAF logs.

SingleHeader

Redacts a specific header field by name from WAF logs.

UriPath

Redacts the URI path from WAF logs.

Properties

Method

Redacts the HTTP method from WAF logs.

string? Method { get; }
Property Value

string

Remarks

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

QueryString

Redacts the entire query string from WAF logs.

string? QueryString { get; }
Property Value

string

Remarks

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

SingleHeader

Redacts a specific header field by name from WAF logs.

object? SingleHeader { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnTelemetryRule.ISingleHeaderProperty

UriPath

Redacts the URI path from WAF logs.

string? UriPath { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX