interface FieldToMatchProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ObservabilityAdmin.Mixins.CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsobservabilityadmin/mixins#CfnOrganizationTelemetryRulePropsMixin_FieldToMatchProperty |
Java | software.amazon.awscdk.mixins.preview.services.observabilityadmin.mixins.CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty |
Python | aws_cdk.mixins_preview.aws_observabilityadmin.mixins.CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty |
TypeScript | @aws-cdk/mixins-preview » aws_observabilityadmin » mixins » CfnOrganizationTelemetryRulePropsMixin » FieldToMatchProperty |
Specifies a field in the request to redact from WAF logs, such as headers, query parameters, or body content.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as observabilityadmin_mixins } from '@aws-cdk/mixins-preview/aws-observabilityadmin';
const fieldToMatchProperty: observabilityadmin_mixins.CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty = {
method: 'method',
queryString: 'queryString',
singleHeader: {
name: 'name',
},
uriPath: 'uriPath',
};
Properties
| Name | Type | Description |
|---|---|---|
| method? | string | Redacts the HTTP method from WAF logs. |
| query | string | Redacts the entire query string from WAF logs. |
| single | IResolvable | Single | Redacts a specific header field by name from WAF logs. |
| uri | string | Redacts the URI path from WAF logs. |
method?
Type:
string
(optional)
Redacts the HTTP method from WAF logs.
queryString?
Type:
string
(optional)
Redacts the entire query string from WAF logs.
singleHeader?
Type:
IResolvable | Single
(optional)
Redacts a specific header field by name from WAF logs.
uriPath?
Type:
string
(optional)
Redacts the URI path from WAF logs.

.NET
Go
Java
Python
TypeScript