Interface IPeer
- All Superinterfaces:
IConnectable
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IPeer.Jsii$Default
,ISecurityGroup
,ISecurityGroup.Jsii$Default
- All Known Implementing Classes:
IPeer.Jsii$Proxy
,ISecurityGroup.Jsii$Proxy
,SecurityGroup
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:17.930Z")
@Stability(Stable)
public interface IPeer
extends software.amazon.jsii.JsiiSerializable, IConnectable
Interface for classes that provide the peer-specification parts of a security group rule.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIPeer
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionWhether the rule can be inlined into a SecurityGroup or not.A unique identifier for this connection peer.Produce the egress rule JSON for the given connection.Produce the ingress rule JSON for the given connection.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnections
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCanInlineRule
Whether the rule can be inlined into a SecurityGroup or not. -
getUniqueId
A unique identifier for this connection peer. -
toEgressRuleConfig
Produce the egress rule JSON for the given connection. -
toIngressRuleConfig
Produce the ingress rule JSON for the given connection.
-