AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This object defines one log field key that will be replaced using the substituteString processor.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatchLogs.Model.SubstituteStringEntry

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z

Syntax

C#
public class SubstituteStringEntry

The SubstituteStringEntry type exposes the following members

Constructors

NameDescription
Public Method SubstituteStringEntry()

Properties

NameTypeDescription
Public Property From System.String

Gets and sets the property From.

The regular expression string to be replaced. Special regex characters such as [ and ] must be escaped using \\ when using double quotes and with \ when using single quotes. For more information, see Class Pattern on the Oracle web site.

Public Property Source System.String

Gets and sets the property Source.

The key to modify

Public Property To System.String

Gets and sets the property To.

The string to be substituted for each match of from

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5