|
76 | 76 | {"shape":"TooManyTargetsException"},
|
77 | 77 | {"shape":"TooManyActionsException"},
|
78 | 78 | {"shape":"InvalidLoadBalancerActionException"},
|
79 |
| - {"shape":"TooManyUniqueTargetGroupsPerLoadBalancerException"} |
| 79 | + {"shape":"TooManyUniqueTargetGroupsPerLoadBalancerException"}, |
| 80 | + {"shape":"ALPNPolicyNotSupportedException"} |
80 | 81 | ],
|
81 | 82 | "documentation":"<p>Creates a listener for the specified Application Load Balancer or Network Load Balancer.</p> <p>To update a listener, use <a>ModifyListener</a>. When you are finished with a listener, you can delete it using <a>DeleteListener</a>. If you are finished with both the listener and the load balancer, you can delete them both using <a>DeleteLoadBalancer</a>.</p> <p>This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple listeners with the same settings, each call succeeds.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html\">Listeners for Your Application Load Balancers</a> in the <i>Application Load Balancers Guide</i> and <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html\">Listeners for Your Network Load Balancers</a> in the <i>Network Load Balancers Guide</i>.</p>"
|
82 | 83 | },
|
|
449 | 450 | {"shape":"TooManyTargetsException"},
|
450 | 451 | {"shape":"TooManyActionsException"},
|
451 | 452 | {"shape":"InvalidLoadBalancerActionException"},
|
452 |
| - {"shape":"TooManyUniqueTargetGroupsPerLoadBalancerException"} |
| 453 | + {"shape":"TooManyUniqueTargetGroupsPerLoadBalancerException"}, |
| 454 | + {"shape":"ALPNPolicyNotSupportedException"} |
453 | 455 | ],
|
454 | 456 | "documentation":"<p>Replaces the specified properties of the specified listener. Any properties that you do not specify remain unchanged.</p> <p>Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy and default certificate properties.</p> <p>To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.</p>"
|
455 | 457 | },
|
|
663 | 665 | }
|
664 | 666 | },
|
665 | 667 | "shapes":{
|
| 668 | + "ALPNPolicyNotSupportedException":{ |
| 669 | + "type":"structure", |
| 670 | + "members":{ |
| 671 | + }, |
| 672 | + "documentation":"<p>The specified ALPN policy is not supported.</p>", |
| 673 | + "error":{ |
| 674 | + "code":"ALPNPolicyNotFound", |
| 675 | + "httpStatusCode":400, |
| 676 | + "senderFault":true |
| 677 | + }, |
| 678 | + "exception":true |
| 679 | + }, |
666 | 680 | "Action":{
|
667 | 681 | "type":"structure",
|
668 | 682 | "required":["Type"],
|
|
782 | 796 | },
|
783 | 797 | "exception":true
|
784 | 798 | },
|
| 799 | + "AlpnPolicyName":{ |
| 800 | + "type":"list", |
| 801 | + "member":{"shape":"AlpnPolicyValue"} |
| 802 | + }, |
| 803 | + "AlpnPolicyValue":{"type":"string"}, |
785 | 804 | "AuthenticateCognitoActionAuthenticationRequestExtraParams":{
|
786 | 805 | "type":"map",
|
787 | 806 | "key":{"shape":"AuthenticateCognitoActionAuthenticationRequestParamName"},
|
|
1054 | 1073 | "DefaultActions":{
|
1055 | 1074 | "shape":"Actions",
|
1056 | 1075 | "documentation":"<p>The actions for the default rule. The rule must include one forward action or one or more fixed-response actions.</p> <p>If the action type is <code>forward</code>, you specify one or more target groups. The protocol of the target group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer.</p> <p>[HTTPS listeners] If the action type is <code>authenticate-oidc</code>, you authenticate users through an identity provider that is OpenID Connect (OIDC) compliant.</p> <p>[HTTPS listeners] If the action type is <code>authenticate-cognito</code>, you authenticate users through the user pools supported by Amazon Cognito.</p> <p>[Application Load Balancer] If the action type is <code>redirect</code>, you redirect specified client requests from one URL to another.</p> <p>[Application Load Balancer] If the action type is <code>fixed-response</code>, you drop specified client requests and return a custom HTTP response.</p>"
|
| 1076 | + }, |
| 1077 | + "AlpnPolicy":{ |
| 1078 | + "shape":"AlpnPolicyName", |
| 1079 | + "documentation":"<p>[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:</p> <ul> <li> <p> <code>HTTP1Only</code> </p> </li> <li> <p> <code>HTTP2Only</code> </p> </li> <li> <p> <code>HTTP2Optional</code> </p> </li> <li> <p> <code>HTTP2Preferred</code> </p> </li> <li> <p> <code>None</code> </p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies\">ALPN Policies</a> in the <i>Network Load Balancers Guide</i>.</p>" |
1057 | 1080 | }
|
1058 | 1081 | }
|
1059 | 1082 | },
|
|
1917 | 1940 | "DefaultActions":{
|
1918 | 1941 | "shape":"Actions",
|
1919 | 1942 | "documentation":"<p>The default actions for the listener.</p>"
|
| 1943 | + }, |
| 1944 | + "AlpnPolicy":{ |
| 1945 | + "shape":"AlpnPolicyName", |
| 1946 | + "documentation":"<p>[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.</p>" |
1920 | 1947 | }
|
1921 | 1948 | },
|
1922 | 1949 | "documentation":"<p>Information about a listener.</p>"
|
|
2149 | 2176 | "DefaultActions":{
|
2150 | 2177 | "shape":"Actions",
|
2151 | 2178 | "documentation":"<p>The actions for the default rule. The rule must include one forward action or one or more fixed-response actions.</p> <p>If the action type is <code>forward</code>, you specify one or more target groups. The protocol of the target group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer.</p> <p>[HTTPS listeners] If the action type is <code>authenticate-oidc</code>, you authenticate users through an identity provider that is OpenID Connect (OIDC) compliant.</p> <p>[HTTPS listeners] If the action type is <code>authenticate-cognito</code>, you authenticate users through the user pools supported by Amazon Cognito.</p> <p>[Application Load Balancer] If the action type is <code>redirect</code>, you redirect specified client requests from one URL to another.</p> <p>[Application Load Balancer] If the action type is <code>fixed-response</code>, you drop specified client requests and return a custom HTTP response.</p>"
|
| 2179 | + }, |
| 2180 | + "AlpnPolicy":{ |
| 2181 | + "shape":"AlpnPolicyName", |
| 2182 | + "documentation":"<p>[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:</p> <ul> <li> <p> <code>HTTP1Only</code> </p> </li> <li> <p> <code>HTTP2Only</code> </p> </li> <li> <p> <code>HTTP2Optional</code> </p> </li> <li> <p> <code>HTTP2Preferred</code> </p> </li> <li> <p> <code>None</code> </p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies\">ALPN Policies</a> in the <i>Network Load Balancers Guide</i>.</p>" |
2152 | 2183 | }
|
2153 | 2184 | }
|
2154 | 2185 | },
|
|
3006 | 3037 | "members":{
|
3007 | 3038 | "Key":{
|
3008 | 3039 | "shape":"TargetGroupAttributeKey",
|
3009 |
| - "documentation":"<p>The name of the attribute.</p> <p>The following attributes are supported by both Application Load Balancers and Network Load Balancers:</p> <ul> <li> <p> <code>deregistration_delay.timeout_seconds</code> - The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from <code>draining</code> to <code>unused</code>. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported.</p> </li> <li> <p> <code>stickiness.enabled</code> - Indicates whether sticky sessions are enabled. The value is <code>true</code> or <code>false</code>. The default is <code>false</code>.</p> </li> <li> <p> <code>stickiness.type</code> - The type of sticky sessions. The possible values are <code>lb_cookie</code> for Application Load Balancers or <code>source_ip</code> for Network Load Balancers.</p> </li> </ul> <p>The following attributes are supported by Application Load Balancers if the target is not a Lambda function:</p> <ul> <li> <p> <code>load_balancing.algorithm.type</code> - The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is <code>round_robin</code> or <code>least_outstanding_requests</code>. The default is <code>round_robin</code>.</p> </li> <li> <p> <code>slow_start.duration_seconds</code> - The time period, in seconds, during which a newly registered target receives a linearly increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). Slow start mode is disabled by default.</p> </li> <li> <p> <code>stickiness.lb_cookie.duration_seconds</code> - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).</p> </li> </ul> <p>The following attribute is supported only if the target is a Lambda function.</p> <ul> <li> <p> <code>lambda.multi_value_headers.enabled</code> - Indicates whether the request and response headers exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is <code>true</code> or <code>false</code>. The default is <code>false</code>. If the value is <code>false</code> and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client.</p> </li> </ul> <p>The following attribute is supported only by Network Load Balancers:</p> <ul> <li> <p> <code>proxy_protocol_v2.enabled</code> - Indicates whether Proxy Protocol version 2 is enabled. The value is <code>true</code> or <code>false</code>. The default is <code>false</code>.</p> </li> </ul>" |
| 3040 | + "documentation":"<p>The name of the attribute.</p> <p>The following attributes are supported by both Application Load Balancers and Network Load Balancers:</p> <ul> <li> <p> <code>deregistration_delay.timeout_seconds</code> - The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from <code>draining</code> to <code>unused</code>. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported.</p> </li> <li> <p> <code>stickiness.enabled</code> - Indicates whether sticky sessions are enabled. The value is <code>true</code> or <code>false</code>. The default is <code>false</code>.</p> </li> <li> <p> <code>stickiness.type</code> - The type of sticky sessions. The possible values are <code>lb_cookie</code> for Application Load Balancers or <code>source_ip</code> for Network Load Balancers.</p> </li> </ul> <p>The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:</p> <ul> <li> <p> <code>load_balancing.algorithm.type</code> - The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is <code>round_robin</code> or <code>least_outstanding_requests</code>. The default is <code>round_robin</code>.</p> </li> <li> <p> <code>slow_start.duration_seconds</code> - The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). Slow start mode is disabled by default.</p> </li> <li> <p> <code>stickiness.lb_cookie.duration_seconds</code> - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).</p> </li> </ul> <p>The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:</p> <ul> <li> <p> <code>lambda.multi_value_headers.enabled</code> - Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is <code>true</code> or <code>false</code>. The default is <code>false</code>. If the value is <code>false</code> and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client.</p> </li> </ul> <p>The following attribute is supported only by Network Load Balancers:</p> <ul> <li> <p> <code>proxy_protocol_v2.enabled</code> - Indicates whether Proxy Protocol version 2 is enabled. The value is <code>true</code> or <code>false</code>. The default is <code>false</code>.</p> </li> </ul>" |
3010 | 3041 | },
|
3011 | 3042 | "Value":{
|
3012 | 3043 | "shape":"TargetGroupAttributeValue",
|
|
0 commit comments