AWS EC2
List security group rules
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。
Describe one or more of your security group rules.
Inputs
Expand All
The name of the filter. Filter names are case-sensitive.
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
If you specify security group rule IDs, the output includes information for only the specified security group rules. If you do not specify security group rule IDs, the output includes information for all security group rules.
The maximum number of results to return in a single call.
Outputs
Expand All
Information about security group rules.
The ID of the security group rule.
The ID of the security group.
The ID of the Amazon Web Services account that owns the security group.
Indicates whether the security group rule is an outbound rule.
The IP protocol name (tcp
, udp
, icmp
, icmpv6
) or number (see Protocol Numbers). Use -1
to specify all protocols.
The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1
indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.
The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1
indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.
The ID of the prefix list.
Describes the security group that is referenced in the rule.
The ID of the security group.
The status of a VPC peering connection, if applicable.
The Amazon Web Services account ID.
The ID of the VPC peering connection (if applicable).
The security group rule description.
The tags applied to the security group rule.
The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:
.
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.