Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changes/next-release/bugfix-ecs-fe04eed4.json
Original file line number Diff line number Diff line change
@@ -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."
}
16 changes: 16 additions & 0 deletions apis/securityhub-2018-10-26.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -7364,9 +7364,21 @@
"shape": "AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails"
}
},
"AppProtocol": {
"type": "string",
"enum": [
"http",
"http2",
"grpc"
]
},
"AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails": {
"type": "structure",
"members": {
"AppProtocol": {
"shape": "AppProtocol",
"documentation": "<p>The application protocol that's used for the port mapping. This parameter only applies to Service Connect.</p>"
},
"ContainerPort": {
"shape": "Integer",
"documentation": "<p>The port number on the container that is bound to the user-specified or automatically assigned host port.</p>"
Expand All @@ -7375,6 +7387,10 @@
"shape": "Integer",
"documentation": "<p>The port number on the container instance to reserve for the container.</p>"
},
"Name": {
"shape": "NonEmptyString",
"documentation": "<p>The name that's used for the port mapping. This parameter only applies to Service Connect.</p>"
},
"Protocol": {
"shape": "NonEmptyString",
"documentation": "<p>The protocol used for the port mapping. The default is <code>tcp</code>.</p>"
Expand Down
9 changes: 9 additions & 0 deletions clients/securityhub.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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.
*/
Expand Down