diff --git a/.changes/next-release/bugfix-ecs-fe04eed4.json b/.changes/next-release/bugfix-ecs-fe04eed4.json new file mode 100644 index 0000000000..84b2113f3a --- /dev/null +++ b/.changes/next-release/bugfix-ecs-fe04eed4.json @@ -0,0 +1,5 @@ +{ + "type": "bugfix", + "category": "ecs", + "description": "adds the missing appProtocol and name parameters to the AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails type definition in order to support Service Connect." +} \ No newline at end of file diff --git a/apis/securityhub-2018-10-26.normal.json b/apis/securityhub-2018-10-26.normal.json index 6a49917d27..23dc03e7d6 100644 --- a/apis/securityhub-2018-10-26.normal.json +++ b/apis/securityhub-2018-10-26.normal.json @@ -7364,9 +7364,21 @@ "shape": "AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails" } }, + "AppProtocol": { + "type": "string", + "enum": [ + "http", + "http2", + "grpc" + ] + }, "AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails": { "type": "structure", "members": { + "AppProtocol": { + "shape": "AppProtocol", + "documentation": "
The application protocol that's used for the port mapping. This parameter only applies to Service Connect.
" + }, "ContainerPort": { "shape": "Integer", "documentation": "The port number on the container that is bound to the user-specified or automatically assigned host port.
" @@ -7375,6 +7387,10 @@ "shape": "Integer", "documentation": "The port number on the container instance to reserve for the container.
" }, + "Name": { + "shape": "NonEmptyString", + "documentation": "The name that's used for the port mapping. This parameter only applies to Service Connect.
" + }, "Protocol": { "shape": "NonEmptyString", "documentation": "The protocol used for the port mapping. The default is tcp.