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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Information about the network interface attachment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attach_timeString

Indicates when the attachment initiated.

This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

  • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

  • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

  • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

Returns:

  • (String)


8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8323

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

#attachment_idString

The identifier of the network interface attachment

Returns:

  • (String)


8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8323

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

#delete_on_terminationBoolean

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

Returns:

  • (Boolean)


8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8323

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

#device_indexInteger

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

Returns:

  • (Integer)


8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8323

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8323

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

#instance_owner_idString

The Amazon Web Services account ID of the owner of the instance.

Returns:

  • (String)


8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8323

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

#statusString

The attachment state.

Valid values: attaching | attached | detaching | detached

Returns:

  • (String)


8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8323

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