SecurityGroupRuleDescription - AWS Firewall Manager

SecurityGroupRuleDescription

Describes a set of permissions for a security group rule.

Contents

FromPort

The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.

Type: Long

Valid Range: Minimum value of 0. Maximum value of 65535.

Required: No

IPV4Range

The IPv4 ranges for the security group rule.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: [a-f0-9:./]+

Required: No

IPV6Range

The IPv6 ranges for the security group rule.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: [a-f0-9:./]+

Required: No

PrefixListId

The ID of the prefix list for the security group rule.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Required: No

Protocol

The IP protocol name (tcp, udp, icmp, icmpv6) or number.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: No

ToPort

The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.

Type: Long

Valid Range: Minimum value of 0. Maximum value of 65535.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: