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

Class: Aws::SecurityHub::Types::AwsEc2InstanceDetails

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

{
  type: "NonEmptyString",
  image_id: "NonEmptyString",
  ip_v4_addresses: ["NonEmptyString"],
  ip_v6_addresses: ["NonEmptyString"],
  key_name: "NonEmptyString",
  iam_instance_profile_arn: "NonEmptyString",
  vpc_id: "NonEmptyString",
  subnet_id: "NonEmptyString",
  launched_at: "NonEmptyString",
}

The details of an Amazon EC2 instance.

Instance Attribute Summary collapse

Instance Attribute Details

#iam_instance_profile_arnString

The IAM profile ARN of the instance.

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 161

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at)
  include Aws::Structure
end

#image_idString

The Amazon Machine Image (AMI) ID of the instance.

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 161

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at)
  include Aws::Structure
end

#ip_v4_addressesArray<String>

The IPv4 addresses associated with the instance.

Returns:

  • (Array<String>)


161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 161

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at)
  include Aws::Structure
end

#ip_v6_addressesArray<String>

The IPv6 addresses associated with the instance.

Returns:

  • (Array<String>)


161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 161

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at)
  include Aws::Structure
end

#key_nameString

The key name associated with the instance.

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 161

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at)
  include Aws::Structure
end

#launched_atString

The date/time the instance was launched.

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 161

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at)
  include Aws::Structure
end

#subnet_idString

The identifier of the subnet that the instance was launched in.

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 161

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at)
  include Aws::Structure
end

#typeString

The instance type of the instance.

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 161

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at)
  include Aws::Structure
end

#vpc_idString

The identifier of the VPC that the instance was launched in.

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 161

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at)
  include Aws::Structure
end