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.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.337Z")
@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.
-