IPeer Interface
Interface for classes that provide the peer-specification parts of a security group rule.
| Source | aws-ec2/lib/peer.ts |
|---|---|
| Type last changed |
Properties
Whether the rule can be inlined into a SecurityGroup or not.
connectionsConnectionsconnectionsConnectionsconnectionsConnectionsConnectionsConnectionsConnectionsConnections #The network connections associated with this resource.
A unique identifier for this connection peer.
Methods
toEgressRuleConfig(): EgressRuleConfigdef to_egress_rule_config(self, ) -> EgressRuleConfigpublic EgressRuleConfig toEgressRuleConfig()public EgressRuleConfig ToEgressRuleConfig()func ToEgressRuleConfig() EgressRuleConfig #Produce the egress rule JSON for the given connection.
toIngressRuleConfig(): IngressRuleConfigdef to_ingress_rule_config(self, ) -> IngressRuleConfigpublic IngressRuleConfig toIngressRuleConfig()public IngressRuleConfig ToIngressRuleConfig()func ToIngressRuleConfig() IngressRuleConfig #Produce the ingress rule JSON for the given connection.