You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing IcmpTypeCode as input to an Aws::Client method, you can use a vanilla Hash:

{
  code: 1,
  type: 1,
}

Describes the ICMP type and code.

Returned by:

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)

    The ICMP code.

#typeInteger

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

Returns:

  • (Integer)

    The ICMP type.