You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::FMS::Types::SecurityGroupRuleDescription

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a set of permissions for a security group rule.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#from_portInteger

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.

Returns:

  • (Integer)

    The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number.

#ipv4_rangeString

The IPv4 ranges for the security group rule.

Returns:

  • (String)

    The IPv4 ranges for the security group rule.

#ipv6_rangeString

The IPv6 ranges for the security group rule.

Returns:

  • (String)

    The IPv6 ranges for the security group rule.

#prefix_list_idString

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

Returns:

  • (String)

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

#protocolString

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

Returns:

  • (String)

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

#to_portInteger

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.

Returns:

  • (Integer)

    The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.