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)


4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4298

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)


4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4298

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)


4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4298

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)


4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4298

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)


4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4298

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)


4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 4298

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