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

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

{
  container_port: 1,
  host_port: 1,
  protocol: "NonEmptyString",
}

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)


7498
7499
7500
7501
7502
7503
7504
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7498

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)


7498
7499
7500
7501
7502
7503
7504
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7498

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)


7498
7499
7500
7501
7502
7503
7504
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7498

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