AWS::CloudWatch::InsightRuleResource Type definition for AWS::CloudWatch::InsightRule. Creates a Contributor Insights rule that analyzes log data to identify top contributors and usage patterns.
5 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
RuleBody | string | Required |
RuleName | string | RequiredCreate-only |
RuleState | string | Required |
ApplyOnTransformedLogs | boolean | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudWatch::InsightRule
Resources:
MyResource:
Type: AWS::CloudWatch::InsightRule
Properties:
RuleName: "my-rulename"
RuleState: "ENABLED"
RuleBody: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
cloudwatch:PutInsightRulecloudwatch:DescribeInsightRulescloudwatch:TagResourcecloudwatch:DescribeInsightRulescloudwatch:ListTagsForResourcecloudwatch:PutInsightRulecloudwatch:DescribeInsightRulescloudwatch:TagResourcecloudwatch:UntagResourcecloudwatch:DeleteInsightRulescloudwatch:DescribeInsightRulescloudwatch:DescribeInsightRulesEverything you need to know about CloudWatch on one page. HD quality, print-friendly.
Download Free InfographicArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
RuleName