Interface CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty
Describes a network access control (ACL) rule.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty
Syntax (vb)
Public Interface CfnNetworkInsightsAnalysis.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.
string? Cidr { get; }
Property Value
Remarks
Egress
Indicates whether the rule is an outbound rule.
object? Egress { get; }
Property Value
Remarks
PortRange
The range of ports.
object? PortRange { get; }
Property Value
Remarks
Protocol
The protocol.
string? Protocol { get; }
Property Value
Remarks
RuleAction
Indicates whether to allow or deny traffic that matches the rule.
string? RuleAction { get; }
Property Value
Remarks
RuleNumber
The rule number.
double? RuleNumber { get; }