Class: Aws::EC2::Types::IcmpTypeCode

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Note:

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

{
  code: 1,
  type: 1,
}

Describes the ICMP type and code.

Instance Attribute Summary collapse

Instance Attribute Details

#codeInteger

The ICMP code. A value of -1 means all codes for the specified ICMP type.

Returns:

  • (Integer)


20914
20915
20916
20917
20918
# File 'lib/aws-sdk-ec2/types.rb', line 20914

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

#typeInteger

The ICMP type. A value of -1 means all types.

Returns:

  • (Integer)


20914
20915
20916
20917
20918
# File 'lib/aws-sdk-ec2/types.rb', line 20914

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