AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::SecurityHub::AutomationRuleV2

CfnAutomationRuleV2

Creates a V2 automation rule.

Import

import { CfnAutomationRuleV2 } from 'aws-cdk-lib/aws-securityhub';

Or use the module namespace:

import * as securityhub from 'aws-cdk-lib/aws-securityhub';
// securityhub.CfnAutomationRuleV2

Properties

Configuration passed to the constructor as CfnAutomationRuleV2Props.

actionsRequired
IResolvable | IResolvable | AutomationRulesActionV2Property[]

A list of actions to be performed when the rule criteria is met.

criteriaRequired
IResolvable | CriteriaProperty

The filtering type and configuration of the automation rule.

descriptionRequired
string

A description of the V2 automation rule.

ruleNameRequired
string

The name of the V2 automation rule.

ruleOrderRequired
number

The value for the rule priority.

ruleStatusOptional
string

The status of the V2 automation rule.

tagsOptional
{ [key: string]: string }

A list of key-value pairs associated with the V2 automation rule.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

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

Subscribe to Newsletter