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.
A structure that contains information about one pattern token related to an anomaly.
For more information about patterns and tokens, see CreateLogAnomalyDetector.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public class PatternToken
The PatternToken type exposes the following members
Name | Description | |
---|---|---|
![]() |
PatternToken() |
Name | Type | Description | |
---|---|---|---|
![]() |
DynamicTokenPosition | System.Nullable<System.Int32> |
Gets and sets the property DynamicTokenPosition.
For a dynamic token, this indicates where in the pattern that this token appears,
related to other dynamic tokens. The dynamic token that appears first has a value
of |
![]() |
Enumerations | System.Collections.Generic.Dictionary<System.String, System.Int64> |
Gets and sets the property Enumerations. Contains the values found for a dynamic token, and the number of times each value was found. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
InferredTokenName | System.String |
Gets and sets the property InferredTokenName.
A name that CloudWatch Logs assigned to this dynamic token to make the pattern more
readable. The string part of the
For example, an inferred token name of |
![]() |
IsDynamic | System.Nullable<System.Boolean> |
Gets and sets the property IsDynamic. Specifies whether this is a dynamic token. |
![]() |
TokenString | System.String |
Gets and sets the property TokenString.
The string represented by this token. If this is a dynamic token, the value will be
|
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer