AWS::ApplicationInsights::Application LogPattern - AWS CloudFormation

AWS::ApplicationInsights::Application LogPattern

The AWS::ApplicationInsights::Application LogPattern property type specifies an object that defines the log patterns that belong to a LogPatternSet.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Pattern" : String, "PatternName" : String, "Rank" : Integer }

YAML

Pattern: String PatternName: String Rank: Integer

Properties

Pattern

A regular expression that defines the log pattern. A log pattern can contain up to 50 characters, and it cannot be empty.

Required: Yes

Type: String

Minimum: 1

Maximum: 50

Pattern: [\S\s]+

Update requires: No interruption

PatternName

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.

Required: Yes

Type: String

Minimum: 1

Maximum: 50

Pattern: [a-zA-Z0-9\.\-_]*

Update requires: No interruption

Rank

The rank of the log pattern.

Required: Yes

Type: Integer

Update requires: No interruption