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)


590
591
592
593
594
595
596
597
598
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 590

class AssetAttributes < Struct.new(
  :schema_version,
  :agent_id,
  :auto_scaling_group,
  :ami_id,
  :hostname,
  :ipv4_addresses)
  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)


590
591
592
593
594
595
596
597
598
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 590

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

#auto_scaling_groupString

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

Returns:

  • (String)


590
591
592
593
594
595
596
597
598
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 590

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

#hostnameString

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

Returns:

  • (String)


590
591
592
593
594
595
596
597
598
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 590

class AssetAttributes < Struct.new(
  :schema_version,
  :agent_id,
  :auto_scaling_group,
  :ami_id,
  :hostname,
  :ipv4_addresses)
  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>)


590
591
592
593
594
595
596
597
598
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 590

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

#schema_versionInteger

The schema version of this data type.

Returns:

  • (Integer)


590
591
592
593
594
595
596
597
598
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 590

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