Class: Aws::SecurityHub::Types::IcmpTypeCode

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 IcmpTypeCode data as a hash:

{
  code: 1,
  type: 1,
}

An Internet Control Message Protocol (ICMP) type and code.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeInteger

The ICMP code for which to deny or allow access. To deny or allow all codes, use the value -1.

Returns:

  • (Integer)


26126
26127
26128
26129
26130
26131
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 26126

class IcmpTypeCode < Struct.new(
  :code,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeInteger

The ICMP type for which to deny or allow access. To deny or allow all types, use the value -1.

Returns:

  • (Integer)


26126
26127
26128
26129
26130
26131
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 26126

class IcmpTypeCode < Struct.new(
  :code,
  :type)
  SENSITIVE = []
  include Aws::Structure
end