AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

A port mapping for the container.

Contents

ContainerPort

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

Type: Integer

Required: No

HostPort

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

Type: Integer

Required: No

Protocol

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

Type: String

Pattern: .*\S.*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: