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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb

Overview

Describes a set of permissions for a security group rule.

Constant Summary collapse

SENSITIVE =
[]

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)


4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4777

class SecurityGroupRuleDescription < Struct.new(
  :ipv4_range,
  :ipv6_range,
  :prefix_list_id,
  :protocol,
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end

#ipv4_rangeString

The IPv4 ranges for the security group rule.

Returns:

  • (String)


4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4777

class SecurityGroupRuleDescription < Struct.new(
  :ipv4_range,
  :ipv6_range,
  :prefix_list_id,
  :protocol,
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end

#ipv6_rangeString

The IPv6 ranges for the security group rule.

Returns:

  • (String)


4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4777

class SecurityGroupRuleDescription < Struct.new(
  :ipv4_range,
  :ipv6_range,
  :prefix_list_id,
  :protocol,
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end

#prefix_list_idString

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

Returns:

  • (String)


4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4777

class SecurityGroupRuleDescription < Struct.new(
  :ipv4_range,
  :ipv6_range,
  :prefix_list_id,
  :protocol,
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

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

Returns:

  • (String)


4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4777

class SecurityGroupRuleDescription < Struct.new(
  :ipv4_range,
  :ipv6_range,
  :prefix_list_id,
  :protocol,
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end

#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)


4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4777

class SecurityGroupRuleDescription < Struct.new(
  :ipv4_range,
  :ipv6_range,
  :prefix_list_id,
  :protocol,
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end