Class CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty
Describes a network access control (ACL) rule.
Inheritance
System.Object
CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AnalysisAclRuleProperty : Object, CfnNetworkInsightsAnalysis.IAnalysisAclRuleProperty
Syntax (vb)
Public Class AnalysisAclRuleProperty
Inherits Object
Implements 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
Constructors
AnalysisAclRuleProperty() |
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. |
Constructors
AnalysisAclRuleProperty()
public AnalysisAclRuleProperty()
Properties
Cidr
The IPv4 address range, in CIDR notation.
public string Cidr { get; set; }
Property Value
System.String
Remarks
Egress
Indicates whether the rule is an outbound rule.
public object Egress { get; set; }
Property Value
System.Object
Remarks
PortRange
The range of ports.
public object PortRange { get; set; }
Property Value
System.Object
Remarks
Protocol
The protocol.
public string Protocol { get; set; }
Property Value
System.String
Remarks
RuleAction
Indicates whether to allow or deny traffic that matches the rule.
public string RuleAction { get; set; }
Property Value
System.String
Remarks
RuleNumber
The rule number.
public Nullable<double> RuleNumber { get; set; }
Property Value
System.Nullable<System.Double>