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

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

{
  hostname: "NonEmptyString",
  ip_address: "NonEmptyString",
}

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)


7091
7092
7093
7094
7095
7096
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7091

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)


7091
7092
7093
7094
7095
7096
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7091

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