Interface CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty
Describes a network access control (ACL) rule.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface IAnalysisAclRuleProperty
Syntax (vb)
Public Interface IAnalysisAclRuleProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var analysisAclRuleProperty = new AnalysisAclRuleProperty {
Cidr = "cidr",
Egress = false,
PortRange = new PortRangeProperty {
From = 123,
To = 123
},
Protocol = "protocol",
RuleAction = "ruleAction",
RuleNumber = 123
};
Synopsis
Properties
Cidr | The IPv4 address range, in CIDR notation. |
Egress | Indicates whether the rule is an outbound rule. |
PortRange | The range of ports. |
Protocol | The protocol. |
RuleAction | Indicates whether to allow or deny traffic that matches the rule. |
RuleNumber | The rule number. |
Properties
Cidr
The IPv4 address range, in CIDR notation.
virtual string Cidr { get; }
Property Value
System.String
Remarks
Egress
Indicates whether the rule is an outbound rule.
virtual object Egress { get; }
Property Value
System.Object
Remarks
PortRange
The range of ports.
virtual object PortRange { get; }
Property Value
System.Object
Remarks
Protocol
The protocol.
virtual string Protocol { get; }
Property Value
System.String
Remarks
RuleAction
Indicates whether to allow or deny traffic that matches the rule.
virtual string RuleAction { get; }
Property Value
System.String
Remarks
RuleNumber
The rule number.
virtual Nullable<double> RuleNumber { get; }
Property Value
System.Nullable<System.Double>