Interface CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty.Jsii$Proxy
- Enclosing class:
- CfnNetworkInsightsAnalysis
@Stability(Stable)
public static interface CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ec2.*;
AnalysisAclRuleProperty analysisAclRuleProperty = AnalysisAclRuleProperty.builder()
.cidr("cidr")
.egress(false)
.portRange(PortRangeProperty.builder()
.from(123)
.to(123)
.build())
.protocol("protocol")
.ruleAction("ruleAction")
.ruleNumber(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNetworkInsightsAnalysis.AnalysisAclRulePropertystatic final classAn implementation forCfnNetworkInsightsAnalysis.AnalysisAclRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetCidr()The IPv4 address range, in CIDR notation.default ObjectIndicates whether the rule is an outbound rule.default ObjectThe range of ports.default StringThe protocol.default StringIndicates whether to allow or deny traffic that matches the rule.default NumberThe rule number.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCidr
The IPv4 address range, in CIDR notation. -
getEgress
Indicates whether the rule is an outbound rule. -
getPortRange
The range of ports. -
getProtocol
The protocol. -
getRuleAction
Indicates whether to allow or deny traffic that matches the rule. -
getRuleNumber
The rule number. -
builder
-