You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Inspector::Types::AssetAttributes

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

Overview

A collection of attributes of the host from which the finding is generated.

Instance Attribute Summary collapse

Instance Attribute Details

#agent_idString

The ID of the agent that is installed on the EC2 instance where the finding is generated.

Returns:

  • (String)


726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 726

class AssetAttributes < Struct.new(
  :schema_version,
  :agent_id,
  :auto_scaling_group,
  :ami_id,
  :hostname,
  :ipv4_addresses,
  :tags,
  :network_interfaces)
  include Aws::Structure
end

#ami_idString

The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.

Returns:

  • (String)


726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 726

class AssetAttributes < Struct.new(
  :schema_version,
  :agent_id,
  :auto_scaling_group,
  :ami_id,
  :hostname,
  :ipv4_addresses,
  :tags,
  :network_interfaces)
  include Aws::Structure
end

#auto_scaling_groupString

The Auto Scaling group of the EC2 instance where the finding is generated.

Returns:

  • (String)


726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 726

class AssetAttributes < Struct.new(
  :schema_version,
  :agent_id,
  :auto_scaling_group,
  :ami_id,
  :hostname,
  :ipv4_addresses,
  :tags,
  :network_interfaces)
  include Aws::Structure
end

#hostnameString

The hostname of the EC2 instance where the finding is generated.

Returns:

  • (String)


726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 726

class AssetAttributes < Struct.new(
  :schema_version,
  :agent_id,
  :auto_scaling_group,
  :ami_id,
  :hostname,
  :ipv4_addresses,
  :tags,
  :network_interfaces)
  include Aws::Structure
end

#ipv4_addressesArray<String>

The list of IP v4 addresses of the EC2 instance where the finding is generated.

Returns:

  • (Array<String>)


726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 726

class AssetAttributes < Struct.new(
  :schema_version,
  :agent_id,
  :auto_scaling_group,
  :ami_id,
  :hostname,
  :ipv4_addresses,
  :tags,
  :network_interfaces)
  include Aws::Structure
end

#network_interfacesArray<Types::NetworkInterface>

An array of the network interfaces interacting with the EC2 instance where the finding is generated.

Returns:



726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 726

class AssetAttributes < Struct.new(
  :schema_version,
  :agent_id,
  :auto_scaling_group,
  :ami_id,
  :hostname,
  :ipv4_addresses,
  :tags,
  :network_interfaces)
  include Aws::Structure
end

#schema_versionInteger

The schema version of this data type.

Returns:

  • (Integer)


726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 726

class AssetAttributes < Struct.new(
  :schema_version,
  :agent_id,
  :auto_scaling_group,
  :ami_id,
  :hostname,
  :ipv4_addresses,
  :tags,
  :network_interfaces)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags related to the EC2 instance where the finding is generated.

Returns:



726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 726

class AssetAttributes < Struct.new(
  :schema_version,
  :agent_id,
  :auto_scaling_group,
  :ami_id,
  :hostname,
  :ipv4_addresses,
  :tags,
  :network_interfaces)
  include Aws::Structure
end