interface NetworkTrafficRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SecurityAgent.CfnPentestPropsMixin.NetworkTrafficRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssecurityagent#CfnPentestPropsMixin_NetworkTrafficRuleProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.securityagent.CfnPentestPropsMixin.NetworkTrafficRuleProperty |
Python | aws_cdk.cfn_property_mixins.aws_securityagent.CfnPentestPropsMixin.NetworkTrafficRuleProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_securityagent » CfnPentestPropsMixin » 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/cfn-property-mixins';
const networkTrafficRuleProperty: securityagent.CfnPentestPropsMixin.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