aws-cdk-lib.aws_applicationinsights.CfnApplication.LogPatternProperty

interface LogPatternProperty

LanguageType name
.NETAmazon.CDK.AWS.ApplicationInsights.CfnApplication.LogPatternProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapplicationinsights#CfnApplication_LogPatternProperty
Javasoftware.amazon.awscdk.services.applicationinsights.CfnApplication.LogPatternProperty
Pythonaws_cdk.aws_applicationinsights.CfnApplication.LogPatternProperty
TypeScript aws-cdk-lib » aws_applicationinsights » CfnApplication » LogPatternProperty

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 { aws_applicationinsights as applicationinsights } from 'aws-cdk-lib';
const logPatternProperty: applicationinsights.CfnApplication.LogPatternProperty = {
  pattern: 'pattern',
  patternName: 'patternName',
  rank: 123,
};

Properties

NameTypeDescription
patternstringA regular expression that defines the log pattern.
patternNamestringThe name of the log pattern.
ranknumberThe rank of the log pattern.

pattern

Type: string

A regular expression that defines the log pattern.

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


patternName

Type: string

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.


rank

Type: number

The rank of the log pattern.