SecurityGroupRule
¶
Source code in docs_src/capo_ec2/types/security_group_rule.py
description
instance-attribute
¶
description: NotRequired[String]
The security group rule description.
from_port
instance-attribute
¶
from_port: NotRequired[Integer]
If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).
group_owner_id
instance-attribute
¶
group_owner_id: NotRequired[String]
The ID of the Amazon Web Services account that owns the security group.
ip_protocol
instance-attribute
¶
ip_protocol: NotRequired[String]
The IP protocol name (tcp, udp, icmp, icmpv6) or number (see Protocol Numbers).
Use -1 to specify all protocols.
is_egress
instance-attribute
¶
is_egress: NotRequired[Boolean]
Indicates whether the security group rule is an outbound rule.
prefix_list_id
instance-attribute
¶
prefix_list_id: NotRequired[PrefixListResourceId]
The ID of the prefix list.
referenced_group_info
instance-attribute
¶
referenced_group_info: NotRequired[ReferencedSecurityGroup]
Describes the security group that is referenced in the rule.
security_group_rule_arn
instance-attribute
¶
security_group_rule_arn: NotRequired[String]
The ARN of the security group rule.
security_group_rule_id
instance-attribute
¶
security_group_rule_id: NotRequired[SecurityGroupRuleId]
The ID of the security group rule.