AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails - AWS Security Hub CSPM
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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: