Skip to content

Commit f77c1c9

Browse files
author
awstools
committed
feat(client-apprunner): AWS App Runner now supports using dual-stack address type for the public endpoint of your incoming traffic.
1 parent cf31194 commit f77c1c9

File tree

8 files changed

+59
-0
lines changed

8 files changed

+59
-0
lines changed

clients/client-apprunner/src/commands/CreateServiceCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
127127
* IngressConfiguration: { // IngressConfiguration
128128
* IsPubliclyAccessible: true || false,
129129
* },
130+
* IpAddressType: "IPV4" || "DUAL_STACK",
130131
* },
131132
* ObservabilityConfiguration: { // ServiceObservabilityConfiguration
132133
* ObservabilityEnabled: true || false, // required
@@ -222,6 +223,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
222223
* // IngressConfiguration: { // IngressConfiguration
223224
* // IsPubliclyAccessible: true || false,
224225
* // },
226+
* // IpAddressType: "IPV4" || "DUAL_STACK",
225227
* // },
226228
* // ObservabilityConfiguration: { // ServiceObservabilityConfiguration
227229
* // ObservabilityEnabled: true || false, // required

clients/client-apprunner/src/commands/DeleteServiceCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
146146
* // IngressConfiguration: { // IngressConfiguration
147147
* // IsPubliclyAccessible: true || false,
148148
* // },
149+
* // IpAddressType: "IPV4" || "DUAL_STACK",
149150
* // },
150151
* // ObservabilityConfiguration: { // ServiceObservabilityConfiguration
151152
* // ObservabilityEnabled: true || false, // required

clients/client-apprunner/src/commands/DescribeServiceCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ export interface DescribeServiceCommandOutput extends DescribeServiceResponse, _
140140
* // IngressConfiguration: { // IngressConfiguration
141141
* // IsPubliclyAccessible: true || false,
142142
* // },
143+
* // IpAddressType: "IPV4" || "DUAL_STACK",
143144
* // },
144145
* // ObservabilityConfiguration: { // ServiceObservabilityConfiguration
145146
* // ObservabilityEnabled: true || false, // required

clients/client-apprunner/src/commands/PauseServiceCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ export interface PauseServiceCommandOutput extends PauseServiceResponse, __Metad
139139
* // IngressConfiguration: { // IngressConfiguration
140140
* // IsPubliclyAccessible: true || false,
141141
* // },
142+
* // IpAddressType: "IPV4" || "DUAL_STACK",
142143
* // },
143144
* // ObservabilityConfiguration: { // ServiceObservabilityConfiguration
144145
* // ObservabilityEnabled: true || false, // required

clients/client-apprunner/src/commands/ResumeServiceCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ export interface ResumeServiceCommandOutput extends ResumeServiceResponse, __Met
142142
* // IngressConfiguration: { // IngressConfiguration
143143
* // IsPubliclyAccessible: true || false,
144144
* // },
145+
* // IpAddressType: "IPV4" || "DUAL_STACK",
145146
* // },
146147
* // ObservabilityConfiguration: { // ServiceObservabilityConfiguration
147148
* // ObservabilityEnabled: true || false, // required

clients/client-apprunner/src/commands/UpdateServiceCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
122122
* IngressConfiguration: { // IngressConfiguration
123123
* IsPubliclyAccessible: true || false,
124124
* },
125+
* IpAddressType: "IPV4" || "DUAL_STACK",
125126
* },
126127
* ObservabilityConfiguration: { // ServiceObservabilityConfiguration
127128
* ObservabilityEnabled: true || false, // required
@@ -217,6 +218,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
217218
* // IngressConfiguration: { // IngressConfiguration
218219
* // IsPubliclyAccessible: true || false,
219220
* // },
221+
* // IpAddressType: "IPV4" || "DUAL_STACK",
220222
* // },
221223
* // ObservabilityConfiguration: { // ServiceObservabilityConfiguration
222224
* // ObservabilityEnabled: true || false, // required

clients/client-apprunner/src/models/models_0.ts

+28
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,20 @@ export interface IngressConfiguration {
883883
IsPubliclyAccessible?: boolean;
884884
}
885885

886+
/**
887+
* @public
888+
* @enum
889+
*/
890+
export const IpAddressType = {
891+
DUAL_STACK: "DUAL_STACK",
892+
IPV4: "IPV4",
893+
} as const;
894+
895+
/**
896+
* @public
897+
*/
898+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
899+
886900
/**
887901
* @public
888902
* <p>Describes configuration settings related to network traffic of an App Runner service. Consists of embedded objects for each configurable network
@@ -900,6 +914,20 @@ export interface NetworkConfiguration {
900914
* <p>Network configuration settings for inbound message traffic.</p>
901915
*/
902916
IngressConfiguration?: IngressConfiguration;
917+
918+
/**
919+
* @public
920+
* <p>App Runner provides you with the option to choose between <i>Internet Protocol version 4 (IPv4)</i> and <i>dual-stack</i> (IPv4 and IPv6)
921+
* for your incoming public network configuration. This is an optional parameter.
922+
* If you do not specify an <code>IpAddressType</code>, it defaults to select IPv4.</p>
923+
* <note>
924+
* <p>
925+
* Currently, App Runner supports dual-stack for only Public endpoint. Only IPv4 is supported for Private endpoint.
926+
* If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint.
927+
* </p>
928+
* </note>
929+
*/
930+
IpAddressType?: IpAddressType;
903931
}
904932

905933
/**

codegen/sdk-codegen/aws-models/apprunner.json

+23
Original file line numberDiff line numberDiff line change
@@ -3241,6 +3241,23 @@
32413241
"smithy.api#httpError": 400
32423242
}
32433243
},
3244+
"com.amazonaws.apprunner#IpAddressType": {
3245+
"type": "enum",
3246+
"members": {
3247+
"IPV4": {
3248+
"target": "smithy.api#Unit",
3249+
"traits": {
3250+
"smithy.api#enumValue": "IPV4"
3251+
}
3252+
},
3253+
"DUAL_STACK": {
3254+
"target": "smithy.api#Unit",
3255+
"traits": {
3256+
"smithy.api#enumValue": "DUAL_STACK"
3257+
}
3258+
}
3259+
}
3260+
},
32443261
"com.amazonaws.apprunner#IsDefault": {
32453262
"type": "boolean"
32463263
},
@@ -3968,6 +3985,12 @@
39683985
"traits": {
39693986
"smithy.api#documentation": "<p>Network configuration settings for inbound message traffic.</p>"
39703987
}
3988+
},
3989+
"IpAddressType": {
3990+
"target": "com.amazonaws.apprunner#IpAddressType",
3991+
"traits": {
3992+
"smithy.api#documentation": "<p>App Runner provides you with the option to choose between <i>Internet Protocol version 4 (IPv4)</i> and <i>dual-stack</i> (IPv4 and IPv6) \n for your incoming public network configuration. This is an optional parameter. \n If you do not specify an <code>IpAddressType</code>, it defaults to select IPv4.</p>\n <note>\n <p>\n Currently, App Runner supports dual-stack for only Public endpoint. Only IPv4 is supported for Private endpoint. \n If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint. \n </p>\n </note>"
3993+
}
39713994
}
39723995
},
39733996
"traits": {

0 commit comments

Comments
 (0)