class Aws::SecurityHub::Types::AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

A port mapping for the container.

@note When making an API call, you may pass AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

data as a hash:

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

@!attribute [rw] container_port

The port number on the container that is bound to the user-specified
or automatically assigned host port.
@return [Integer]

@!attribute [rw] host_port

The port number on the container instance to reserve for the
container.
@return [Integer]

@!attribute [rw] protocol

The protocol used for the port mapping. The default is `tcp`.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails AWS API Documentation

Constants

SENSITIVE