AWS Fundamentals Logo
AWS Fundamentals
AWS::SecurityHub::AutomationRuleV2

SecurityHub AutomationRuleV2

Resource schema for AWS::SecurityHub::AutomationRuleV2

Properties

7 configurable properties. 5 required. Click a row to see details.

Filter:
PropertyTypeFlags
Actions
Array<AutomationRulesActionV2>
Required
Criteria
Criteria
Required
Description
string
Required
RuleName
string
Required
RuleOrder
number
Required
RuleStatus
string
Tags
Tags

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CreatedAtstring-
RuleArnstringThe ARN of the automation rule
RuleIdstringThe ID of the automation rule
UpdatedAtstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SecurityHub::AutomationRuleV2

Resources:
  MyResource:
    Type: AWS::SecurityHub::AutomationRuleV2
    Properties:
      RuleName: "my-rulename"
      Description: "value"
      RuleOrder: 1
      Criteria: "value"
      Actions: []
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

securityhub:CreateAutomationRuleV2securityhub:GetAutomationRuleV2securityhub:TagResourcesecurityhub:ListTagsForResource

read

securityhub:GetAutomationRuleV2securityhub:ListTagsForResource

update

securityhub:UpdateAutomationRuleV2securityhub:GetAutomationRuleV2securityhub:TagResourcesecurityhub:UntagResourcesecurityhub:ListTagsForResource

delete

securityhub:GetAutomationRuleV2securityhub:DeleteAutomationRuleV2

list

securityhub:ListAutomationRulesV2securityhub:ListTagsForResource

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceSecurityHub
Properties11
Required5
TaggingSupported
Primary IDRuleArn

Supported Operations

CreateReadUpdateDeleteList

External Links