SecurityGroupRuleRequest
class SecurityGroupRuleRequest
Describes a security group rule.
You must specify exactly one of the following parameters, based on the rule type:
CidrIpv4
CidrIpv6
PrefixListId
ReferencedGroupId
When you modify a rule, you cannot change the rule type. For example, if the rule uses an IPv4 address range, you must use CidrIpv4
to specify a new IPv4 address range.
Types
Properties
Link copied to clipboard
The description of the security group rule.
Link copied to clipboard
Link copied to clipboard
The IP protocol name (tcp
, udp
, icmp
, icmpv6
) or number (see Protocol Numbers).
Link copied to clipboard
The ID of the prefix list.
Link copied to clipboard
The ID of the security group that is referenced in the security group rule.