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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IPeer.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Whether 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

      @Stability(Stable) @NotNull Boolean getCanInlineRule()
      Whether the rule can be inlined into a SecurityGroup or not.
    • getUniqueId

      @Stability(Stable) @NotNull String getUniqueId()
      A unique identifier for this connection peer.
    • toEgressRuleConfig

      @Stability(Stable) @NotNull Object toEgressRuleConfig()
      Produce the egress rule JSON for the given connection.
    • toIngressRuleConfig

      @Stability(Stable) @NotNull Object toIngressRuleConfig()
      Produce the ingress rule JSON for the given connection.