Class CfnApplication.LogPatternProperty
The AWS::ApplicationInsights::Application LogPattern
property type specifies an object that defines the log patterns that belong to a LogPatternSet
.
Inheritance
System.Object
CfnApplication.LogPatternProperty
Implements
Namespace: Amazon.CDK.AWS.ApplicationInsights
Assembly: Amazon.CDK.AWS.ApplicationInsights.dll
Syntax (csharp)
public class LogPatternProperty : Object, CfnApplication.ILogPatternProperty
Syntax (vb)
Public Class LogPatternProperty
Inherits Object
Implements CfnApplication.ILogPatternProperty
Remarks
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.ApplicationInsights;
var logPatternProperty = new LogPatternProperty {
Pattern = "pattern",
PatternName = "patternName",
Rank = 123
};
Synopsis
Constructors
LogPatternProperty() |
Properties
Pattern | A regular expression that defines the log pattern. |
PatternName | The name of the log pattern. |
Rank | The rank of the log pattern. |
Constructors
LogPatternProperty()
public LogPatternProperty()
Properties
Pattern
A regular expression that defines the log pattern.
public string Pattern { get; set; }
Property Value
System.String
Remarks
A log pattern can contain up to 50 characters, and it cannot be empty.
PatternName
The name of the log pattern.
public string PatternName { get; set; }
Property Value
System.String
Remarks
A log pattern name can contain up to 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
Rank
The rank of the log pattern.
public double Rank { get; set; }
Property Value
System.Double