Skip to content

Commit 390c136

Browse files
Elastic Load Balancing: This release adds support for the IpAddressType field on SourceIpConfig, enabling Network Load Balancer listener rules to match traffic based on whether the source IP is IPv4 or IPv6.
1 parent e0fa53f commit 390c136

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Elastic Load Balancing",
4+
"contributor": "",
5+
"description": "This release adds support for the IpAddressType field on SourceIpConfig, enabling Network Load Balancer listener rules to match traffic based on whether the source IP is IPv4 or IPv6."
6+
}

services/elasticloadbalancingv2/src/main/resources/codegen-resources/service-2.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4214,12 +4214,23 @@
42144214
}
42154215
}
42164216
},
4217+
"SourceIpAddressTypeEnum":{
4218+
"type":"string",
4219+
"enum":[
4220+
"ipv4",
4221+
"ipv6"
4222+
]
4223+
},
42174224
"SourceIpConditionConfig":{
42184225
"type":"structure",
42194226
"members":{
42204227
"Values":{
42214228
"shape":"ListOfString",
42224229
"documentation":"<p>The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported.</p> <p>If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header. To search for addresses in the X-Forwarded-For header, use an <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#http-header-conditions\">HTTP header condition</a>.</p> <p>The total number of values must be less than, or equal to five.</p>"
4230+
},
4231+
"IpAddressType":{
4232+
"shape":"SourceIpAddressTypeEnum",
4233+
"documentation":"<p>The IP address type for Network Load Balancers.</p> <p>The valid values are:</p> <ul> <li> <p> <code>ipv4</code> – IPv4 addresses only.</p> </li> <li> <p> <code>ipv6</code> – IPv6 addresses only.</p> </li> </ul>"
42234234
}
42244235
},
42254236
"documentation":"<p>Information about a source IP condition.</p> <p>You can use this condition to route based on the IP address of the source that connects to the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the IP address of the client.</p>"

0 commit comments

Comments
 (0)