interface LogPatternProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApplicationInsights.Mixins.CfnApplicationPropsMixin.LogPatternProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapplicationinsights/mixins#CfnApplicationPropsMixin_LogPatternProperty |
Java | software.amazon.awscdk.mixins.preview.services.applicationinsights.mixins.CfnApplicationPropsMixin.LogPatternProperty |
Python | aws_cdk.mixins_preview.aws_applicationinsights.mixins.CfnApplicationPropsMixin.LogPatternProperty |
TypeScript | @aws-cdk/mixins-preview » aws_applicationinsights » mixins » CfnApplicationPropsMixin » 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 { mixins as applicationinsights_mixins } from '@aws-cdk/mixins-preview/aws-applicationinsights';
const logPatternProperty: applicationinsights_mixins.CfnApplicationPropsMixin.LogPatternProperty = {
pattern: 'pattern',
patternName: 'patternName',
rank: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| pattern? | string | A regular expression that defines the log pattern. |
| pattern | string | The name of the log pattern. |
| rank? | number | The rank of the log pattern. |
pattern?
Type:
string
(optional)
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
(optional)
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
(optional)
The rank of the log pattern.

.NET
Go
Java
Python
TypeScript