Interface CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.Jsii$Proxy
- Enclosing class:
CfnNetworkInsightsAnalysis
@Stability(Stable)
public static interface CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty
extends software.amazon.jsii.JsiiSerializable
Describes a security group 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.*; AnalysisSecurityGroupRuleProperty analysisSecurityGroupRuleProperty = AnalysisSecurityGroupRuleProperty.builder() .cidr("cidr") .direction("direction") .portRange(PortRangeProperty.builder() .from(123) .to(123) .build()) .prefixListId("prefixListId") .protocol("protocol") .securityGroupId("securityGroupId") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCidr
The IPv4 address range, in CIDR notation.- See Also:
-
getDirection
The direction. The following are the possible values:.- egress
- ingress
- See Also:
-
getPortRange
The port range.- See Also:
-
getPrefixListId
The prefix list ID.- See Also:
-
getProtocol
The protocol name.- See Also:
-
getSecurityGroupId
The security group ID.- See Also:
-
builder
@Stability(Stable) static CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.Builder builder()
-