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)


7237
7238
7239
7240
7241
7242
7243
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7237

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)


7237
7238
7239
7240
7241
7242
7243
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7237

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)


7237
7238
7239
7240
7241
7242
7243
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7237

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