Class: Aws::SecurityHub::Types::RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts

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

Overview

Note:

When making an API call, you may pass RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts data as a hash:

{
  from_port: 1,
  to_port: 1,
}

A port range to specify the destination ports to inspect for.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#from_portInteger

The starting port value for the port range.

Returns:

  • (Integer)


43324
43325
43326
43327
43328
43329
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 43324

class RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts < Struct.new(
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end

#to_portInteger

The ending port value for the port range.

Returns:

  • (Integer)


43324
43325
43326
43327
43328
43329
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 43324

class RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts < Struct.new(
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end