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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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.

Constant Summary collapse

SENSITIVE =
[]

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)


28741
28742
28743
28744
28745
28746
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28741

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

#typeInteger

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

Returns:

  • (Integer)


28741
28742
28743
28744
28745
28746
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28741

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