Class: Aws::SecurityHub::Types::AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails

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

Overview

A hostname and IP address mapping to append to the /etc/hosts file on the container.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#hostnameString

The hostname to use in the /etc/hosts entry.

Returns:

  • (String)


10648
10649
10650
10651
10652
10653
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10648

class AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails < Struct.new(
  :hostname,
  :ip_address)
  SENSITIVE = []
  include Aws::Structure
end

#ip_addressString

The IP address to use in the /etc/hosts entry.

Returns:

  • (String)


10648
10649
10650
10651
10652
10653
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10648

class AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails < Struct.new(
  :hostname,
  :ip_address)
  SENSITIVE = []
  include Aws::Structure
end