Paws::ApplicationInsights::CreateLogPattern - Arguments for method CreateLogPattern on Paws::ApplicationInsights
This class represents the parameters used for calling the method CreateLogPattern on the Amazon CloudWatch Application Insights service. Use the attributes of this class as arguments to method CreateLogPattern.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLogPattern.
my $applicationinsights = Paws->service('ApplicationInsights'); my $CreateLogPatternResponse = $applicationinsights->CreateLogPattern( Pattern => 'MyLogPatternRegex', PatternName => 'MyLogPatternName', PatternSetName => 'MyLogPatternSetName', Rank => 1, ResourceGroupName => 'MyResourceGroupName', ); # Results: my $LogPattern = $CreateLogPatternResponse->LogPattern; my $ResourceGroupName = $CreateLogPatternResponse->ResourceGroupName; # Returns a L<Paws::ApplicationInsights::CreateLogPatternResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/applicationinsights/CreateLogPattern
The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
The name of the log pattern.
The name of the log pattern set.
Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for AWS-provided patterns.
1
1,000,000
Low
750,000
Medium
500,000
High
250,000
The name of the resource group.
This class forms part of Paws, documenting arguments for method CreateLogPattern in Paws::ApplicationInsights
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.