Interface CfnApplication.LogPatternProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

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


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 LogPatternProperty logPatternProperty = LogPatternProperty.builder()
  • 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()
      a CfnApplication.LogPatternProperty.Builder of CfnApplication.LogPatternProperty