Class: Aws::SecurityHub::Types::AwsEc2NetworkInterfaceDetails

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

{
  attachment: {
    attach_time: "NonEmptyString",
    attachment_id: "NonEmptyString",
    delete_on_termination: false,
    device_index: 1,
    instance_id: "NonEmptyString",
    instance_owner_id: "NonEmptyString",
    status: "NonEmptyString",
  },
  network_interface_id: "NonEmptyString",
  security_groups: [
    {
      group_name: "NonEmptyString",
      group_id: "NonEmptyString",
    },
  ],
  source_dest_check: false,
}

Details about the network interface

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attachmentTypes::AwsEc2NetworkInterfaceAttachment

The network interface attachment.



849
850
851
852
853
854
855
856
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 849

class AwsEc2NetworkInterfaceDetails < Struct.new(
  :attachment,
  :network_interface_id,
  :security_groups,
  :source_dest_check)
  SENSITIVE = []
  include Aws::Structure
end

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


849
850
851
852
853
854
855
856
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 849

class AwsEc2NetworkInterfaceDetails < Struct.new(
  :attachment,
  :network_interface_id,
  :security_groups,
  :source_dest_check)
  SENSITIVE = []
  include Aws::Structure
end

#security_groupsArray<Types::AwsEc2NetworkInterfaceSecurityGroup>

Security groups for the network interface.



849
850
851
852
853
854
855
856
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 849

class AwsEc2NetworkInterfaceDetails < Struct.new(
  :attachment,
  :network_interface_id,
  :security_groups,
  :source_dest_check)
  SENSITIVE = []
  include Aws::Structure
end

#source_dest_checkBoolean

Indicates whether traffic to or from the instance is validated.

Returns:

  • (Boolean)


849
850
851
852
853
854
855
856
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 849

class AwsEc2NetworkInterfaceDetails < Struct.new(
  :attachment,
  :network_interface_id,
  :security_groups,
  :source_dest_check)
  SENSITIVE = []
  include Aws::Structure
end