Class: Aws::SecurityHub::Types::AwsEc2InstanceDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsEc2InstanceDetails
- Defined in:
- gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb
Overview
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",
network_interfaces: [
{
network_interface_id: "NonEmptyString",
},
],
virtualization_type: "NonEmptyString",
metadata_options: {
http_endpoint: "NonEmptyString",
http_protocol_ipv_6: "NonEmptyString",
http_put_response_hop_limit: 1,
http_tokens: "NonEmptyString",
instance_metadata_tags: "NonEmptyString",
},
}
The details of an Amazon EC2 instance.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#iam_instance_profile_arn ⇒ String
The IAM profile ARN of the instance.
-
#image_id ⇒ String
The Amazon Machine Image (AMI) ID of the instance.
-
#ip_v4_addresses ⇒ Array<String>
The IPv4 addresses associated with the instance.
-
#ip_v6_addresses ⇒ Array<String>
The IPv6 addresses associated with the instance.
-
#key_name ⇒ String
The key name associated with the instance.
-
#launched_at ⇒ String
Indicates when the instance was launched.
-
#metadata_options ⇒ Types::AwsEc2InstanceMetadataOptions
Details about the metadata options for the Amazon EC2 instance.
-
#network_interfaces ⇒ Array<Types::AwsEc2InstanceNetworkInterfacesDetails>
The identifiers of the network interfaces for the EC2 instance.
-
#subnet_id ⇒ String
The identifier of the subnet that the instance was launched in.
-
#type ⇒ String
The instance type of the instance.
-
#virtualization_type ⇒ String
The virtualization type of the Amazon Machine Image (AMI) required to launch the instance.
-
#vpc_id ⇒ String
The identifier of the VPC that the instance was launched in.
Instance Attribute Details
#iam_instance_profile_arn ⇒ String
The IAM profile ARN of the instance.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#image_id ⇒ String
The Amazon Machine Image (AMI) ID of the instance.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#ip_v4_addresses ⇒ Array<String>
The IPv4 addresses associated with the instance.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#ip_v6_addresses ⇒ Array<String>
The IPv6 addresses associated with the instance.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#key_name ⇒ String
The key name associated with the instance.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#launched_at ⇒ String
Indicates when the instance was launched.
Uses the date-time
format specified in RFC 3339 section 5.6,
Internet Date/Time Format. The value cannot contain spaces. For
example, 2020-03-22T13:22:13.933Z
.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#metadata_options ⇒ Types::AwsEc2InstanceMetadataOptions
Details about the metadata options for the Amazon EC2 instance.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#network_interfaces ⇒ Array<Types::AwsEc2InstanceNetworkInterfacesDetails>
The identifiers of the network interfaces for the EC2 instance. The
details for each network interface are in a corresponding
AwsEc2NetworkInterfacesDetails
object.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#subnet_id ⇒ String
The identifier of the subnet that the instance was launched in.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The instance type of the instance.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#virtualization_type ⇒ String
The virtualization type of the Amazon Machine Image (AMI) required to launch the instance.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |
#vpc_id ⇒ String
The identifier of the VPC that the instance was launched in.
5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5473 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, :network_interfaces, :virtualization_type, :metadata_options) SENSITIVE = [] include Aws::Structure end |