Class: Aws::SecurityHub::Types::AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

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

Overview

A port mapping for the container.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_portInteger

The port number on the container that is bound to the user-specified or automatically assigned host port.

Returns:

  • (Integer)


11002
11003
11004
11005
11006
11007
11008
# File 'lib/aws-sdk-securityhub/types.rb', line 11002

class AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails < Struct.new(
  :container_port,
  :host_port,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#host_portInteger

The port number on the container instance to reserve for the container.

Returns:

  • (Integer)


11002
11003
11004
11005
11006
11007
11008
# File 'lib/aws-sdk-securityhub/types.rb', line 11002

class AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails < Struct.new(
  :container_port,
  :host_port,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The protocol used for the port mapping. The default is ‘tcp`.

Returns:

  • (String)


11002
11003
11004
11005
11006
11007
11008
# File 'lib/aws-sdk-securityhub/types.rb', line 11002

class AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails < Struct.new(
  :container_port,
  :host_port,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end