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();
- See Also:
-
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.- See Also:
-
getEgress
Indicates whether the rule is an outbound rule.Returns union: either
BooleanorIResolvable- See Also:
-
getPortRange
The range of ports.Returns union: either
IResolvableorCfnNetworkInsightsAnalysis.PortRangeProperty- See Also:
-
getProtocol
The protocol.- See Also:
-
getRuleAction
Indicates whether to allow or deny traffic that matches the rule.- See Also:
-
getRuleNumber
The rule number.- See Also:
-
builder
-