From 2ee84343efcbb8d005ba06a99c9d1ea446939341 Mon Sep 17 00:00:00 2001 From: Vince Chan <15341873+chan-vince@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:49:25 +0000 Subject: [PATCH] Update the interface for ECS Container PortMapping with current options (#3043) Update the ECS Container PortMapping interface to add in some fields that are in the API but currently missing from the interface. More context provided in the issue #2968. --- sdk/nodejs/ecs/container.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk/nodejs/ecs/container.ts b/sdk/nodejs/ecs/container.ts index 7ec72ee10e7..6df1a738d4d 100644 --- a/sdk/nodejs/ecs/container.ts +++ b/sdk/nodejs/ecs/container.ts @@ -187,11 +187,17 @@ export interface MountPoint { // See https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html export interface PortMapping { + appProtocol?: AppProtocol; containerPort?: pulumi.Input; + containerPortRange?: pulumi.Input; hostPort?: pulumi.Input; + name?: pulumi.Input; protocol?: Protocol; } +// See https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html +export type AppProtocol = "http" | "http2" | "grpc"; + // See https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html export type Protocol = "tcp" | "udp";