Interface IPeer
Interface for classes that provide the peer-specification parts of a security group rule.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPeer : IConnectable
Syntax (vb)
Public Interface IPeer
Inherits IConnectable
Synopsis
Properties
CanInlineRule | Whether the rule can be inlined into a SecurityGroup or not. |
UniqueId | A unique identifier for this connection peer. |
Methods
ToEgressRuleConfig() | Produce the egress rule JSON for the given connection. |
ToIngressRuleConfig() | Produce the ingress rule JSON for the given connection. |
Properties
CanInlineRule
Whether the rule can be inlined into a SecurityGroup or not.
bool CanInlineRule { get; }
Property Value
System.Boolean
UniqueId
A unique identifier for this connection peer.
string UniqueId { get; }
Property Value
System.String
Methods
ToEgressRuleConfig()
Produce the egress rule JSON for the given connection.
object ToEgressRuleConfig()
Returns
System.Object
ToIngressRuleConfig()
Produce the ingress rule JSON for the given connection.
object ToIngressRuleConfig()
Returns
System.Object