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)


20775
20776
20777
20778
20779
# File 'lib/aws-sdk-ec2/types.rb', line 20775

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

#typeInteger

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

Returns:

  • (Integer)


20775
20776
20777
20778
20779
# File 'lib/aws-sdk-ec2/types.rb', line 20775

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