AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails - AWS Security Hub

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 AWS SDKs, see the following: