IPeer
- class aws_cdk.aws_ec2.IPeer(*args, **kwds)
Bases:
IConnectable
,Protocol
Interface for classes that provide the peer-specification parts of a security group rule.
Methods
- to_egress_rule_config()
Produce the egress rule JSON for the given connection.
- Return type:
Any
- to_ingress_rule_config()
Produce the ingress rule JSON for the given connection.
- Return type:
Any
Attributes
- can_inline_rule
Whether the rule can be inlined into a SecurityGroup or not.
- connections
The network connections associated with this resource.
- unique_id
A unique identifier for this connection peer.