interface NetworkTrafficRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SecurityAgent.CfnPentest.NetworkTrafficRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssecurityagent#CfnPentest_NetworkTrafficRuleProperty |
Java | software.amazon.awscdk.services.securityagent.CfnPentest.NetworkTrafficRuleProperty |
Python | aws_cdk.aws_securityagent.CfnPentest.NetworkTrafficRuleProperty |
TypeScript | aws-cdk-lib » aws_securityagent » CfnPentest » NetworkTrafficRuleProperty |
Network traffic rule.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const networkTrafficRuleProperty: securityagent.CfnPentest.NetworkTrafficRuleProperty = {
effect: 'effect',
networkTrafficRuleType: 'networkTrafficRuleType',
pattern: 'pattern',
};
Properties
| Name | Type | Description |
|---|---|---|
| effect? | string | Whether to allow or deny traffic matching this rule. |
| network | string | Type of pattern matching for this rule. |
| pattern? | string | URL pattern this rule applies to. |
effect?
Type:
string
(optional)
Whether to allow or deny traffic matching this rule.
networkTrafficRuleType?
Type:
string
(optional)
Type of pattern matching for this rule.
pattern?
Type:
string
(optional)
URL pattern this rule applies to.

.NET
Go
Java
Python
TypeScript