interface CfnRuleProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.NetworkSecurityManager.CfnRuleProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworksecuritymanager#CfnRuleProps |
Java | software.amazon.awscdk.services.networksecuritymanager.CfnRuleProps |
Python | aws_cdk.aws_networksecuritymanager.CfnRuleProps |
TypeScript | aws-cdk-lib » aws_networksecuritymanager » CfnRuleProps |
Properties for defining a CfnRule.
Example
// 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
| Name | Type | Description |
|---|---|---|
| rule | string | The name of the rule. |
| configuration? | string | The rule configuration as a JSON string. |
| firewall | string | The type of firewall for this rule. |
| rule | string | A description of the rule. |
| rule | string | The type of rule. |
| tags? | Cfn[] | The tags associated with the rule. |
ruleName
Type:
string
The name of the rule.
configuration?
Type:
string
(optional)
The rule configuration as a JSON string.
firewallType?
Type:
string
(optional)
The type of firewall for this rule.
ruleDescription?
Type:
string
(optional)
A description of the rule.
ruleType?
Type:
string
(optional)
The type of rule.
tags?
Type:
Cfn[]
(optional)
The tags associated with the rule.

.NET
Go
Java
Python
TypeScript