interface LogPatternProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ApplicationInsights.CfnApplicationPropsMixin.LogPatternProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsapplicationinsights#CfnApplicationPropsMixin_LogPatternProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.applicationinsights.CfnApplicationPropsMixin.LogPatternProperty |
Python | aws_cdk.cfn_property_mixins.aws_applicationinsights.CfnApplicationPropsMixin.LogPatternProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_applicationinsights » 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 { aws_applicationinsights as applicationinsights } from '@aws-cdk/cfn-property-mixins';
const logPatternProperty: applicationinsights.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