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.

" diff --git a/clients/securityhub.d.ts b/clients/securityhub.d.ts index e1a6729d92..e061509aa6 100644 --- a/clients/securityhub.d.ts +++ b/clients/securityhub.d.ts @@ -4932,7 +4932,12 @@ declare namespace SecurityHub { SourceVolume?: NonEmptyString; } export type AwsEcsTaskDefinitionContainerDefinitionsMountPointsList = AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails[]; + export type AppProtocol = "http"|"http2"|"grpc"|string; export interface AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails { + /** + * The application protocol that's used for the port mapping. This parameter only applies to Service Connect. + */ + AppProtocol?: AppProtocol; /** * The port number on the container that is bound to the user-specified or automatically assigned host port. */ @@ -4941,6 +4946,10 @@ declare namespace SecurityHub { * The port number on the container instance to reserve for the container. */ HostPort?: Integer; + /** + * The name that's used for the port mapping. This parameter only applies to Service Connect. + */ + Name?: NonEmptyString; /** * The protocol used for the port mapping. The default is tcp. */