CfnRuleProps Struct
Properties for defining a CfnRule.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networksecuritymanager as networksecuritymanager } from 'aws-cdk-lib';
const cfnRuleProps: networksecuritymanager.CfnRuleProps = {
ruleName: 'ruleName',
// the properties below are optional
configuration: 'configuration',
firewallType: 'firewallType',
ruleDescription: 'ruleDescription',
ruleType: 'ruleType',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
The rule configuration as a JSON string.
The type of firewall for this rule.
ruleDescriptionstringrule_descriptionstrruleDescriptionStringRuleDescriptionstringRuleDescription*string#A description of the rule.
The name of the rule.
The type of rule.