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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/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)


10998
10999
11000
11001
11002
11003
11004
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10998

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)


10998
10999
11000
11001
11002
11003
11004
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10998

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)


10998
10999
11000
11001
11002
11003
11004
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10998

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