Paws::CloudWatch::InsightRule
This class represents one of two things:
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CloudWatch::InsightRule object:
$service_obj->Method(Att1 => { Definition => $value, ..., State => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatch::InsightRule object:
$result = $service_obj->Method(...); $result->Att1->Definition
This structure contains the definition for a Contributor Insights rule.
The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights-RuleSyntax.html).
The name of the rule.
For rules that you create, this is always {"Name": "CloudWatchLogRule", "Version": 1}. For built-in rules, this is {"Name": "ServiceLogRule", "Version": 1}
{"Name": "CloudWatchLogRule", "Version": 1}
{"Name": "ServiceLogRule", "Version": 1}
Indicates whether the rule is enabled or disabled.
This class forms part of Paws, describing an object used in Paws::CloudWatch
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.