interface AnalysisAclRuleProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty |
Java | software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty |
Python | aws_cdk.aws_ec2.CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty |
TypeScript | @aws-cdk/aws-ec2 » CfnNetworkInsightsAnalysis » AnalysisAclRuleProperty |
Describes a network access control (ACL) rule.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const analysisAclRuleProperty: ec2.CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty = {
cidr: 'cidr',
egress: false,
portRange: {
from: 123,
to: 123,
},
protocol: 'protocol',
ruleAction: 'ruleAction',
ruleNumber: 123,
};
Properties
Name | Type | Description |
---|---|---|
cidr? | string | The IPv4 address range, in CIDR notation. |
egress? | boolean | IResolvable | Indicates whether the rule is an outbound rule. |
port | IResolvable | Port | The range of ports. |
protocol? | string | The protocol. |
rule | string | Indicates whether to allow or deny traffic that matches the rule. |
rule | number | The rule number. |
cidr?
Type:
string
(optional)
The IPv4 address range, in CIDR notation.
egress?
Type:
boolean |
IResolvable
(optional)
Indicates whether the rule is an outbound rule.
portRange?
Type:
IResolvable
|
Port
(optional)
The range of ports.
protocol?
Type:
string
(optional)
The protocol.
ruleAction?
Type:
string
(optional)
Indicates whether to allow or deny traffic that matches the rule.
ruleNumber?
Type:
number
(optional)
The rule number.