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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
# File 'lib/aws-sdk-fms/types.rb', line 4795

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)


4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
# File 'lib/aws-sdk-fms/types.rb', line 4795

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)


4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
# File 'lib/aws-sdk-fms/types.rb', line 4795

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)


4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
# File 'lib/aws-sdk-fms/types.rb', line 4795

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)


4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
# File 'lib/aws-sdk-fms/types.rb', line 4795

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)


4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
# File 'lib/aws-sdk-fms/types.rb', line 4795

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