IPeer¶
-
class
aws_cdk.aws_ec2.
IPeer
(*args, **kwds)¶ Bases:
aws_cdk.aws_ec2.IConnectable
,typing_extensions.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.
- Return type
bool
-
connections
¶ - Return type
-
unique_id
¶ A unique identifier for this connection peer.
- Return type
str
-