Interface CfnApplication.LogPatternProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnApplication.LogPatternProperty.Jsii$Proxy
Enclosing class:
CfnApplication

@Stability(Stable) public static interface CfnApplication.LogPatternProperty extends software.amazon.jsii.JsiiSerializable
The AWS::ApplicationInsights::Application LogPattern property type specifies an object that defines the log patterns that belong to a LogPatternSet .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.applicationinsights.*;
 LogPatternProperty logPatternProperty = LogPatternProperty.builder()
         .pattern("pattern")
         .patternName("patternName")
         .rank(123)
         .build();
 
  • Method Details

    • getPattern

      @Stability(Stable) @NotNull String getPattern()
      A regular expression that defines the log pattern.

      A log pattern can contain up to 50 characters, and it cannot be empty.

    • getPatternName

      @Stability(Stable) @NotNull String getPatternName()
      The name of the log pattern.

      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.

    • getRank

      @Stability(Stable) @NotNull Number getRank()
      The rank of the log pattern.
    • builder

      @Stability(Stable) static CfnApplication.LogPatternProperty.Builder builder()
      Returns:
      a CfnApplication.LogPatternProperty.Builder of CfnApplication.LogPatternProperty