aws-cdk-lib.aws_applicationinsights.CfnApplication.LogPatternSetProperty

interface LogPatternSetProperty

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

The AWS::ApplicationInsights::Application LogPatternSet property type specifies the log pattern set.

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 logPatternSetProperty: applicationinsights.CfnApplication.LogPatternSetProperty = {
  logPatterns: [{
    pattern: 'pattern',
    patternName: 'patternName',
    rank: 123,
  }],
  patternSetName: 'patternSetName',
};

Properties

NameTypeDescription
logPatternsIResolvable | IResolvable | LogPatternProperty[]A list of objects that define the log patterns that belong to LogPatternSet .
patternSetNamestringThe name of the log pattern.

logPatterns

Type: IResolvable | IResolvable | LogPatternProperty[]

A list of objects that define the log patterns that belong to LogPatternSet .


patternSetName

Type: string

The name of the log pattern.

A log pattern name can contain up to 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.