AWS::SecurityHub::AutomationRuleThe AWS::SecurityHub::AutomationRule resource specifies an automation rule based on input parameters. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the *User Guide*.
8 configurable properties. 5 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Actions | Array<AutomationRulesAction> | Required |
Criteria | AutomationRulesFindingFilters | Required |
Description | string | Required |
RuleName | string | Required |
RuleOrder | integer | Required |
IsTerminal | boolean | |
RuleStatus | string | |
Tags | Tags |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedAt | string | - |
CreatedBy | string | - |
RuleArn | string | - |
UpdatedAt | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SecurityHub::AutomationRule
Resources:
MyResource:
Type: AWS::SecurityHub::AutomationRule
Properties:
RuleOrder: 1
RuleName: "my-rulename"
Description: "value"
Criteria: "value"
Actions: []
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
securityhub:CreateAutomationRulesecurityhub:TagResourcesecurityhub:ListTagsForResourcesecurityhub:ListAutomationRulessecurityhub:BatchGetAutomationRulessecurityhub:ListTagsForResourcesecurityhub:BatchUpdateAutomationRulessecurityhub:TagResourcesecurityhub:UntagResourcesecurityhub:ListTagsForResourcesecurityhub:BatchDeleteAutomationRulessecurityhub:BatchGetAutomationRulessecurityhub:ListAutomationRulessecurityhub:ListTagsForResourceOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterRuleArn