Class: Aws::SecurityHub::Types::AwsEc2NetworkInterfaceAttachment

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

{
  attach_time: "NonEmptyString",
  attachment_id: "NonEmptyString",
  delete_on_termination: false,
  device_index: 1,
  instance_id: "NonEmptyString",
  instance_owner_id: "NonEmptyString",
  status: "NonEmptyString",
}

Information about the network interface attachment.

Instance Attribute Summary collapse

Instance Attribute Details

#attach_timeString

The timestamp indicating when the attachment initiated.

Returns:

  • (String)


730
731
732
733
734
735
736
737
738
739
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 730

class AwsEc2NetworkInterfaceAttachment < Struct.new(
  :attach_time,
  :attachment_id,
  :delete_on_termination,
  :device_index,
  :instance_id,
  :instance_owner_id,
  :status)
  include Aws::Structure
end

#attachment_idString

The identifier of the network interface attachment

Returns:

  • (String)


730
731
732
733
734
735
736
737
738
739
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 730

class AwsEc2NetworkInterfaceAttachment < Struct.new(
  :attach_time,
  :attachment_id,
  :delete_on_termination,
  :device_index,
  :instance_id,
  :instance_owner_id,
  :status)
  include Aws::Structure
end

#delete_on_terminationBoolean

Indicates whether the network interface is deleted when the instance is terminated.

Returns:

  • (Boolean)


730
731
732
733
734
735
736
737
738
739
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 730

class AwsEc2NetworkInterfaceAttachment < Struct.new(
  :attach_time,
  :attachment_id,
  :delete_on_termination,
  :device_index,
  :instance_id,
  :instance_owner_id,
  :status)
  include Aws::Structure
end

#device_indexInteger

The device index of the network interface attachment on the instance.

Returns:

  • (Integer)


730
731
732
733
734
735
736
737
738
739
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 730

class AwsEc2NetworkInterfaceAttachment < Struct.new(
  :attach_time,
  :attachment_id,
  :delete_on_termination,
  :device_index,
  :instance_id,
  :instance_owner_id,
  :status)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


730
731
732
733
734
735
736
737
738
739
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 730

class AwsEc2NetworkInterfaceAttachment < Struct.new(
  :attach_time,
  :attachment_id,
  :delete_on_termination,
  :device_index,
  :instance_id,
  :instance_owner_id,
  :status)
  include Aws::Structure
end

#instance_owner_idString

The AWS account ID of the owner of the instance.

Returns:

  • (String)


730
731
732
733
734
735
736
737
738
739
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 730

class AwsEc2NetworkInterfaceAttachment < Struct.new(
  :attach_time,
  :attachment_id,
  :delete_on_termination,
  :device_index,
  :instance_id,
  :instance_owner_id,
  :status)
  include Aws::Structure
end

#statusString

The attachment state.

Valid values: attaching | attached | detaching | detached

Returns:

  • (String)


730
731
732
733
734
735
736
737
738
739
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 730

class AwsEc2NetworkInterfaceAttachment < Struct.new(
  :attach_time,
  :attachment_id,
  :delete_on_termination,
  :device_index,
  :instance_id,
  :instance_owner_id,
  :status)
  include Aws::Structure
end