aws-sdk-elasticloadbalancingv2 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13ec0142b8dec14b60b9bf5a62b21cd41caaafa7
|
4
|
+
data.tar.gz: d22a27423801d43e143990168c71eef8db05a705
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 326136598fdadcd05a409090cf094c96e3a35f95eb076ca03dc9528153eb943fd527c8ff7d5de8c810f8cb3d2d822f97df0db9f5d04693c0c9190f118bea0e06
|
7
|
+
data.tar.gz: e0e418fb6a025fa54cc183a64426ecca7727c2285cea5eadb687c94a83ea5ccd462239a46bd59e2cb49524a1744a6f071e93b083c525db7e7d7e7e23cc79808e
|
@@ -302,23 +302,30 @@ module Aws::ElasticLoadBalancingV2
|
|
302
302
|
#
|
303
303
|
# @option params [Array<Types::Certificate>] :certificates
|
304
304
|
# \[HTTPS listeners\] The default SSL server certificate. You must
|
305
|
-
# provide exactly one certificate. To create a certificate list,
|
306
|
-
# AddListenerCertificates.
|
305
|
+
# provide exactly one default certificate. To create a certificate list,
|
306
|
+
# use AddListenerCertificates.
|
307
307
|
#
|
308
308
|
# @option params [required, Array<Types::Action>] :default_actions
|
309
309
|
# The actions for the default rule. The rule must include one forward
|
310
|
-
# action.
|
310
|
+
# action or one or more fixed-response actions.
|
311
311
|
#
|
312
312
|
# If the action type is `forward`, you can specify a single target
|
313
313
|
# group. The protocol of the target group must be HTTP or HTTPS for an
|
314
314
|
# Application Load Balancer or TCP for a Network Load Balancer.
|
315
315
|
#
|
316
|
-
# If the action type is `authenticate-oidc`, you can
|
317
|
-
# provider that is OpenID Connect (OIDC) compliant to
|
318
|
-
# as they access your application.
|
316
|
+
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you can
|
317
|
+
# use an identity provider that is OpenID Connect (OIDC) compliant to
|
318
|
+
# authenticate users as they access your application.
|
319
319
|
#
|
320
|
-
# If the action type is `authenticate-cognito`, you
|
321
|
-
# Cognito to authenticate users as they access your
|
320
|
+
# \[HTTPS listener\] If the action type is `authenticate-cognito`, you
|
321
|
+
# can use Amazon Cognito to authenticate users as they access your
|
322
|
+
# application.
|
323
|
+
#
|
324
|
+
# \[Application Load Balancer\] If the action type is `redirect`, you
|
325
|
+
# can redirect HTTP and HTTPS requests.
|
326
|
+
#
|
327
|
+
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
328
|
+
# you can return a custom HTTP response.
|
322
329
|
#
|
323
330
|
# @return [Types::CreateListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
324
331
|
#
|
@@ -424,7 +431,7 @@ module Aws::ElasticLoadBalancingV2
|
|
424
431
|
# ],
|
425
432
|
# default_actions: [ # required
|
426
433
|
# {
|
427
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito
|
434
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
428
435
|
# target_group_arn: "TargetGroupArn",
|
429
436
|
# authenticate_oidc_config: {
|
430
437
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -454,6 +461,19 @@ module Aws::ElasticLoadBalancingV2
|
|
454
461
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
455
462
|
# },
|
456
463
|
# order: 1,
|
464
|
+
# redirect_config: {
|
465
|
+
# protocol: "RedirectActionProtocol",
|
466
|
+
# port: "RedirectActionPort",
|
467
|
+
# host: "RedirectActionHost",
|
468
|
+
# path: "RedirectActionPath",
|
469
|
+
# query: "RedirectActionQuery",
|
470
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
471
|
+
# },
|
472
|
+
# fixed_response_config: {
|
473
|
+
# message_body: "FixedResponseActionMessage",
|
474
|
+
# status_code: "FixedResponseActionStatusCode", # required
|
475
|
+
# content_type: "FixedResponseActionContentType",
|
476
|
+
# },
|
457
477
|
# },
|
458
478
|
# ],
|
459
479
|
# })
|
@@ -470,7 +490,7 @@ module Aws::ElasticLoadBalancingV2
|
|
470
490
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
471
491
|
# resp.listeners[0].ssl_policy #=> String
|
472
492
|
# resp.listeners[0].default_actions #=> Array
|
473
|
-
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito"
|
493
|
+
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
474
494
|
# resp.listeners[0].default_actions[0].target_group_arn #=> String
|
475
495
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.issuer #=> String
|
476
496
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -494,6 +514,15 @@ module Aws::ElasticLoadBalancingV2
|
|
494
514
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.authentication_request_extra_params["AuthenticateCognitoActionAuthenticationRequestParamName"] #=> String
|
495
515
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
496
516
|
# resp.listeners[0].default_actions[0].order #=> Integer
|
517
|
+
# resp.listeners[0].default_actions[0].redirect_config.protocol #=> String
|
518
|
+
# resp.listeners[0].default_actions[0].redirect_config.port #=> String
|
519
|
+
# resp.listeners[0].default_actions[0].redirect_config.host #=> String
|
520
|
+
# resp.listeners[0].default_actions[0].redirect_config.path #=> String
|
521
|
+
# resp.listeners[0].default_actions[0].redirect_config.query #=> String
|
522
|
+
# resp.listeners[0].default_actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
|
523
|
+
# resp.listeners[0].default_actions[0].fixed_response_config.message_body #=> String
|
524
|
+
# resp.listeners[0].default_actions[0].fixed_response_config.status_code #=> String
|
525
|
+
# resp.listeners[0].default_actions[0].fixed_response_config.content_type #=> String
|
497
526
|
#
|
498
527
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener AWS API Documentation
|
499
528
|
#
|
@@ -573,7 +602,7 @@ module Aws::ElasticLoadBalancingV2
|
|
573
602
|
# addresses. The DNS name of an Internet-facing load balancer is
|
574
603
|
# publicly resolvable to the public IP addresses of the nodes.
|
575
604
|
# Therefore, Internet-facing load balancers can route requests from
|
576
|
-
# clients over the
|
605
|
+
# clients over the internet.
|
577
606
|
#
|
578
607
|
# The nodes of an internal load balancer have only private IP addresses.
|
579
608
|
# The DNS name of an internal load balancer is publicly resolvable to
|
@@ -773,7 +802,7 @@ module Aws::ElasticLoadBalancingV2
|
|
773
802
|
# If the field name is `host-header`, you can specify a single host name
|
774
803
|
# (for example, my.example.com). A host name is case insensitive, can be
|
775
804
|
# up to 128 characters in length, and can contain any of the following
|
776
|
-
# characters.
|
805
|
+
# characters. You can include up to three wildcard characters.
|
777
806
|
#
|
778
807
|
# * A-Z, a-z, 0-9
|
779
808
|
#
|
@@ -784,9 +813,9 @@ module Aws::ElasticLoadBalancingV2
|
|
784
813
|
# * ? (matches exactly 1 character)
|
785
814
|
#
|
786
815
|
# If the field name is `path-pattern`, you can specify a single path
|
787
|
-
# pattern. A path pattern is case
|
788
|
-
# in length, and can contain any of the following characters.
|
789
|
-
#
|
816
|
+
# pattern. A path pattern is case-sensitive, can be up to 128 characters
|
817
|
+
# in length, and can contain any of the following characters. You can
|
818
|
+
# include up to three wildcard characters.
|
790
819
|
#
|
791
820
|
# * A-Z, a-z, 0-9
|
792
821
|
#
|
@@ -803,17 +832,25 @@ module Aws::ElasticLoadBalancingV2
|
|
803
832
|
# priority.
|
804
833
|
#
|
805
834
|
# @option params [required, Array<Types::Action>] :actions
|
806
|
-
# The actions. Each rule must include one
|
835
|
+
# The actions. Each rule must include exactly one of the following types
|
836
|
+
# of actions: `forward`, `fixed-response`, or `redirect`.
|
807
837
|
#
|
808
838
|
# If the action type is `forward`, you can specify a single target
|
809
839
|
# group.
|
810
840
|
#
|
811
|
-
# If the action type is `authenticate-oidc`, you can
|
812
|
-
# provider that is OpenID Connect (OIDC) compliant to
|
813
|
-
# as they access your application.
|
841
|
+
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you can
|
842
|
+
# use an identity provider that is OpenID Connect (OIDC) compliant to
|
843
|
+
# authenticate users as they access your application.
|
814
844
|
#
|
815
|
-
# If the action type is `authenticate-cognito`, you
|
816
|
-
# Cognito to authenticate users as they access your
|
845
|
+
# \[HTTPS listener\] If the action type is `authenticate-cognito`, you
|
846
|
+
# can use Amazon Cognito to authenticate users as they access your
|
847
|
+
# application.
|
848
|
+
#
|
849
|
+
# \[Application Load Balancer\] If the action type is `redirect`, you
|
850
|
+
# can redirect HTTP and HTTPS requests.
|
851
|
+
#
|
852
|
+
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
853
|
+
# you can return a custom HTTP response.
|
817
854
|
#
|
818
855
|
# @return [Types::CreateRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
819
856
|
#
|
@@ -882,7 +919,7 @@ module Aws::ElasticLoadBalancingV2
|
|
882
919
|
# priority: 1, # required
|
883
920
|
# actions: [ # required
|
884
921
|
# {
|
885
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito
|
922
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
886
923
|
# target_group_arn: "TargetGroupArn",
|
887
924
|
# authenticate_oidc_config: {
|
888
925
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -912,6 +949,19 @@ module Aws::ElasticLoadBalancingV2
|
|
912
949
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
913
950
|
# },
|
914
951
|
# order: 1,
|
952
|
+
# redirect_config: {
|
953
|
+
# protocol: "RedirectActionProtocol",
|
954
|
+
# port: "RedirectActionPort",
|
955
|
+
# host: "RedirectActionHost",
|
956
|
+
# path: "RedirectActionPath",
|
957
|
+
# query: "RedirectActionQuery",
|
958
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
959
|
+
# },
|
960
|
+
# fixed_response_config: {
|
961
|
+
# message_body: "FixedResponseActionMessage",
|
962
|
+
# status_code: "FixedResponseActionStatusCode", # required
|
963
|
+
# content_type: "FixedResponseActionContentType",
|
964
|
+
# },
|
915
965
|
# },
|
916
966
|
# ],
|
917
967
|
# })
|
@@ -926,7 +976,7 @@ module Aws::ElasticLoadBalancingV2
|
|
926
976
|
# resp.rules[0].conditions[0].values #=> Array
|
927
977
|
# resp.rules[0].conditions[0].values[0] #=> String
|
928
978
|
# resp.rules[0].actions #=> Array
|
929
|
-
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito"
|
979
|
+
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
930
980
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
931
981
|
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
|
932
982
|
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -950,6 +1000,15 @@ module Aws::ElasticLoadBalancingV2
|
|
950
1000
|
# resp.rules[0].actions[0].authenticate_cognito_config.authentication_request_extra_params["AuthenticateCognitoActionAuthenticationRequestParamName"] #=> String
|
951
1001
|
# resp.rules[0].actions[0].authenticate_cognito_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
952
1002
|
# resp.rules[0].actions[0].order #=> Integer
|
1003
|
+
# resp.rules[0].actions[0].redirect_config.protocol #=> String
|
1004
|
+
# resp.rules[0].actions[0].redirect_config.port #=> String
|
1005
|
+
# resp.rules[0].actions[0].redirect_config.host #=> String
|
1006
|
+
# resp.rules[0].actions[0].redirect_config.path #=> String
|
1007
|
+
# resp.rules[0].actions[0].redirect_config.query #=> String
|
1008
|
+
# resp.rules[0].actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
|
1009
|
+
# resp.rules[0].actions[0].fixed_response_config.message_body #=> String
|
1010
|
+
# resp.rules[0].actions[0].fixed_response_config.status_code #=> String
|
1011
|
+
# resp.rules[0].actions[0].fixed_response_config.content_type #=> String
|
953
1012
|
# resp.rules[0].is_default #=> Boolean
|
954
1013
|
#
|
955
1014
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule AWS API Documentation
|
@@ -1023,14 +1082,14 @@ module Aws::ElasticLoadBalancingV2
|
|
1023
1082
|
#
|
1024
1083
|
# @option params [Integer] :health_check_interval_seconds
|
1025
1084
|
# The approximate amount of time, in seconds, between health checks of
|
1026
|
-
# an individual target. For Application Load Balancers, the range is
|
1027
|
-
#
|
1028
|
-
#
|
1085
|
+
# an individual target. For Application Load Balancers, the range is
|
1086
|
+
# 5–300 seconds. For Network Load Balancers, the supported values are 10
|
1087
|
+
# or 30 seconds. The default is 30 seconds.
|
1029
1088
|
#
|
1030
1089
|
# @option params [Integer] :health_check_timeout_seconds
|
1031
1090
|
# The amount of time, in seconds, during which no response from a target
|
1032
1091
|
# means a failed health check. For Application Load Balancers, the range
|
1033
|
-
# is 2
|
1092
|
+
# is 2–60 seconds and the default is 5 seconds. For Network Load
|
1034
1093
|
# Balancers, this is 10 seconds for TCP and HTTPS health checks and 6
|
1035
1094
|
# seconds for HTTP health checks.
|
1036
1095
|
#
|
@@ -1054,8 +1113,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1054
1113
|
# The type of target that you must specify when registering targets with
|
1055
1114
|
# this target group. The possible values are `instance` (targets are
|
1056
1115
|
# specified by instance ID) or `ip` (targets are specified by IP
|
1057
|
-
# address). The default is `instance`.
|
1058
|
-
#
|
1116
|
+
# address). The default is `instance`. You can't specify targets for a
|
1117
|
+
# target group using both instance IDs and IP addresses.
|
1059
1118
|
#
|
1060
1119
|
# If the target type is `ip`, specify IP addresses from the subnets of
|
1061
1120
|
# the virtual private cloud (VPC) for the target group, the RFC 1918
|
@@ -1155,7 +1214,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1155
1214
|
# Deletes the specified listener.
|
1156
1215
|
#
|
1157
1216
|
# Alternatively, your listener is deleted when you delete the load
|
1158
|
-
# balancer it is attached
|
1217
|
+
# balancer to which it is attached, using DeleteLoadBalancer.
|
1159
1218
|
#
|
1160
1219
|
# @option params [required, String] :listener_arn
|
1161
1220
|
# The Amazon Resource Name (ARN) of the listener.
|
@@ -1502,7 +1561,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1502
1561
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
1503
1562
|
# resp.listeners[0].ssl_policy #=> String
|
1504
1563
|
# resp.listeners[0].default_actions #=> Array
|
1505
|
-
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito"
|
1564
|
+
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
1506
1565
|
# resp.listeners[0].default_actions[0].target_group_arn #=> String
|
1507
1566
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.issuer #=> String
|
1508
1567
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -1526,6 +1585,15 @@ module Aws::ElasticLoadBalancingV2
|
|
1526
1585
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.authentication_request_extra_params["AuthenticateCognitoActionAuthenticationRequestParamName"] #=> String
|
1527
1586
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
1528
1587
|
# resp.listeners[0].default_actions[0].order #=> Integer
|
1588
|
+
# resp.listeners[0].default_actions[0].redirect_config.protocol #=> String
|
1589
|
+
# resp.listeners[0].default_actions[0].redirect_config.port #=> String
|
1590
|
+
# resp.listeners[0].default_actions[0].redirect_config.host #=> String
|
1591
|
+
# resp.listeners[0].default_actions[0].redirect_config.path #=> String
|
1592
|
+
# resp.listeners[0].default_actions[0].redirect_config.query #=> String
|
1593
|
+
# resp.listeners[0].default_actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
|
1594
|
+
# resp.listeners[0].default_actions[0].fixed_response_config.message_body #=> String
|
1595
|
+
# resp.listeners[0].default_actions[0].fixed_response_config.status_code #=> String
|
1596
|
+
# resp.listeners[0].default_actions[0].fixed_response_config.content_type #=> String
|
1529
1597
|
# resp.next_marker #=> String
|
1530
1598
|
#
|
1531
1599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners AWS API Documentation
|
@@ -1798,7 +1866,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1798
1866
|
# resp.rules[0].conditions[0].values #=> Array
|
1799
1867
|
# resp.rules[0].conditions[0].values[0] #=> String
|
1800
1868
|
# resp.rules[0].actions #=> Array
|
1801
|
-
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito"
|
1869
|
+
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
1802
1870
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
1803
1871
|
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
|
1804
1872
|
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -1822,6 +1890,15 @@ module Aws::ElasticLoadBalancingV2
|
|
1822
1890
|
# resp.rules[0].actions[0].authenticate_cognito_config.authentication_request_extra_params["AuthenticateCognitoActionAuthenticationRequestParamName"] #=> String
|
1823
1891
|
# resp.rules[0].actions[0].authenticate_cognito_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
1824
1892
|
# resp.rules[0].actions[0].order #=> Integer
|
1893
|
+
# resp.rules[0].actions[0].redirect_config.protocol #=> String
|
1894
|
+
# resp.rules[0].actions[0].redirect_config.port #=> String
|
1895
|
+
# resp.rules[0].actions[0].redirect_config.host #=> String
|
1896
|
+
# resp.rules[0].actions[0].redirect_config.path #=> String
|
1897
|
+
# resp.rules[0].actions[0].redirect_config.query #=> String
|
1898
|
+
# resp.rules[0].actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
|
1899
|
+
# resp.rules[0].actions[0].fixed_response_config.message_body #=> String
|
1900
|
+
# resp.rules[0].actions[0].fixed_response_config.status_code #=> String
|
1901
|
+
# resp.rules[0].actions[0].fixed_response_config.content_type #=> String
|
1825
1902
|
# resp.rules[0].is_default #=> Boolean
|
1826
1903
|
# resp.next_marker #=> String
|
1827
1904
|
#
|
@@ -2374,23 +2451,30 @@ module Aws::ElasticLoadBalancingV2
|
|
2374
2451
|
#
|
2375
2452
|
# @option params [Array<Types::Certificate>] :certificates
|
2376
2453
|
# \[HTTPS listeners\] The default SSL server certificate. You must
|
2377
|
-
# provide exactly one certificate. To create a certificate list,
|
2378
|
-
# AddListenerCertificates.
|
2454
|
+
# provide exactly one default certificate. To create a certificate list,
|
2455
|
+
# use AddListenerCertificates.
|
2379
2456
|
#
|
2380
2457
|
# @option params [Array<Types::Action>] :default_actions
|
2381
2458
|
# The actions for the default rule. The rule must include one forward
|
2382
|
-
# action.
|
2459
|
+
# action or one or more fixed-response actions.
|
2383
2460
|
#
|
2384
2461
|
# If the action type is `forward`, you can specify a single target
|
2385
2462
|
# group. The protocol of the target group must be HTTP or HTTPS for an
|
2386
2463
|
# Application Load Balancer or TCP for a Network Load Balancer.
|
2387
2464
|
#
|
2388
|
-
# If the action type is `authenticate-oidc`, you can
|
2389
|
-
# provider that is OpenID Connect (OIDC) compliant to
|
2390
|
-
# as they access your application.
|
2465
|
+
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you can
|
2466
|
+
# use an identity provider that is OpenID Connect (OIDC) compliant to
|
2467
|
+
# authenticate users as they access your application.
|
2391
2468
|
#
|
2392
|
-
# If the action type is `authenticate-cognito`, you
|
2393
|
-
# Cognito to authenticate users as they access your
|
2469
|
+
# \[HTTPS listener\] If the action type is `authenticate-cognito`, you
|
2470
|
+
# can use Amazon Cognito to authenticate users as they access your
|
2471
|
+
# application.
|
2472
|
+
#
|
2473
|
+
# \[Application Load Balancer\] If the action type is `redirect`, you
|
2474
|
+
# can redirect HTTP and HTTPS requests.
|
2475
|
+
#
|
2476
|
+
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
2477
|
+
# you can return a custom HTTP response.
|
2394
2478
|
#
|
2395
2479
|
# @return [Types::ModifyListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2396
2480
|
#
|
@@ -2481,7 +2565,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2481
2565
|
# ],
|
2482
2566
|
# default_actions: [
|
2483
2567
|
# {
|
2484
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito
|
2568
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
2485
2569
|
# target_group_arn: "TargetGroupArn",
|
2486
2570
|
# authenticate_oidc_config: {
|
2487
2571
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -2511,6 +2595,19 @@ module Aws::ElasticLoadBalancingV2
|
|
2511
2595
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
2512
2596
|
# },
|
2513
2597
|
# order: 1,
|
2598
|
+
# redirect_config: {
|
2599
|
+
# protocol: "RedirectActionProtocol",
|
2600
|
+
# port: "RedirectActionPort",
|
2601
|
+
# host: "RedirectActionHost",
|
2602
|
+
# path: "RedirectActionPath",
|
2603
|
+
# query: "RedirectActionQuery",
|
2604
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
2605
|
+
# },
|
2606
|
+
# fixed_response_config: {
|
2607
|
+
# message_body: "FixedResponseActionMessage",
|
2608
|
+
# status_code: "FixedResponseActionStatusCode", # required
|
2609
|
+
# content_type: "FixedResponseActionContentType",
|
2610
|
+
# },
|
2514
2611
|
# },
|
2515
2612
|
# ],
|
2516
2613
|
# })
|
@@ -2527,7 +2624,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2527
2624
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
2528
2625
|
# resp.listeners[0].ssl_policy #=> String
|
2529
2626
|
# resp.listeners[0].default_actions #=> Array
|
2530
|
-
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito"
|
2627
|
+
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
2531
2628
|
# resp.listeners[0].default_actions[0].target_group_arn #=> String
|
2532
2629
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.issuer #=> String
|
2533
2630
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -2551,6 +2648,15 @@ module Aws::ElasticLoadBalancingV2
|
|
2551
2648
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.authentication_request_extra_params["AuthenticateCognitoActionAuthenticationRequestParamName"] #=> String
|
2552
2649
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
2553
2650
|
# resp.listeners[0].default_actions[0].order #=> Integer
|
2651
|
+
# resp.listeners[0].default_actions[0].redirect_config.protocol #=> String
|
2652
|
+
# resp.listeners[0].default_actions[0].redirect_config.port #=> String
|
2653
|
+
# resp.listeners[0].default_actions[0].redirect_config.host #=> String
|
2654
|
+
# resp.listeners[0].default_actions[0].redirect_config.path #=> String
|
2655
|
+
# resp.listeners[0].default_actions[0].redirect_config.query #=> String
|
2656
|
+
# resp.listeners[0].default_actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
|
2657
|
+
# resp.listeners[0].default_actions[0].fixed_response_config.message_body #=> String
|
2658
|
+
# resp.listeners[0].default_actions[0].fixed_response_config.status_code #=> String
|
2659
|
+
# resp.listeners[0].default_actions[0].fixed_response_config.content_type #=> String
|
2554
2660
|
#
|
2555
2661
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener AWS API Documentation
|
2556
2662
|
#
|
@@ -2752,7 +2858,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2752
2858
|
# If the field name is `host-header`, you can specify a single host name
|
2753
2859
|
# (for example, my.example.com). A host name is case insensitive, can be
|
2754
2860
|
# up to 128 characters in length, and can contain any of the following
|
2755
|
-
# characters.
|
2861
|
+
# characters. You can include up to three wildcard characters.
|
2756
2862
|
#
|
2757
2863
|
# * A-Z, a-z, 0-9
|
2758
2864
|
#
|
@@ -2763,9 +2869,9 @@ module Aws::ElasticLoadBalancingV2
|
|
2763
2869
|
# * ? (matches exactly 1 character)
|
2764
2870
|
#
|
2765
2871
|
# If the field name is `path-pattern`, you can specify a single path
|
2766
|
-
# pattern. A path pattern is case
|
2767
|
-
# in length, and can contain any of the following characters.
|
2768
|
-
#
|
2872
|
+
# pattern. A path pattern is case-sensitive, can be up to 128 characters
|
2873
|
+
# in length, and can contain any of the following characters. You can
|
2874
|
+
# include up to three wildcard characters.
|
2769
2875
|
#
|
2770
2876
|
# * A-Z, a-z, 0-9
|
2771
2877
|
#
|
@@ -2848,7 +2954,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2848
2954
|
# ],
|
2849
2955
|
# actions: [
|
2850
2956
|
# {
|
2851
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito
|
2957
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
2852
2958
|
# target_group_arn: "TargetGroupArn",
|
2853
2959
|
# authenticate_oidc_config: {
|
2854
2960
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -2878,6 +2984,19 @@ module Aws::ElasticLoadBalancingV2
|
|
2878
2984
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
2879
2985
|
# },
|
2880
2986
|
# order: 1,
|
2987
|
+
# redirect_config: {
|
2988
|
+
# protocol: "RedirectActionProtocol",
|
2989
|
+
# port: "RedirectActionPort",
|
2990
|
+
# host: "RedirectActionHost",
|
2991
|
+
# path: "RedirectActionPath",
|
2992
|
+
# query: "RedirectActionQuery",
|
2993
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
2994
|
+
# },
|
2995
|
+
# fixed_response_config: {
|
2996
|
+
# message_body: "FixedResponseActionMessage",
|
2997
|
+
# status_code: "FixedResponseActionStatusCode", # required
|
2998
|
+
# content_type: "FixedResponseActionContentType",
|
2999
|
+
# },
|
2881
3000
|
# },
|
2882
3001
|
# ],
|
2883
3002
|
# })
|
@@ -2892,7 +3011,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2892
3011
|
# resp.rules[0].conditions[0].values #=> Array
|
2893
3012
|
# resp.rules[0].conditions[0].values[0] #=> String
|
2894
3013
|
# resp.rules[0].actions #=> Array
|
2895
|
-
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito"
|
3014
|
+
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
2896
3015
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
2897
3016
|
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
|
2898
3017
|
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -2916,6 +3035,15 @@ module Aws::ElasticLoadBalancingV2
|
|
2916
3035
|
# resp.rules[0].actions[0].authenticate_cognito_config.authentication_request_extra_params["AuthenticateCognitoActionAuthenticationRequestParamName"] #=> String
|
2917
3036
|
# resp.rules[0].actions[0].authenticate_cognito_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
2918
3037
|
# resp.rules[0].actions[0].order #=> Integer
|
3038
|
+
# resp.rules[0].actions[0].redirect_config.protocol #=> String
|
3039
|
+
# resp.rules[0].actions[0].redirect_config.port #=> String
|
3040
|
+
# resp.rules[0].actions[0].redirect_config.host #=> String
|
3041
|
+
# resp.rules[0].actions[0].redirect_config.path #=> String
|
3042
|
+
# resp.rules[0].actions[0].redirect_config.query #=> String
|
3043
|
+
# resp.rules[0].actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
|
3044
|
+
# resp.rules[0].actions[0].fixed_response_config.message_body #=> String
|
3045
|
+
# resp.rules[0].actions[0].fixed_response_config.status_code #=> String
|
3046
|
+
# resp.rules[0].actions[0].fixed_response_config.content_type #=> String
|
2919
3047
|
# resp.rules[0].is_default #=> Boolean
|
2920
3048
|
#
|
2921
3049
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule AWS API Documentation
|
@@ -2950,9 +3078,9 @@ module Aws::ElasticLoadBalancingV2
|
|
2950
3078
|
#
|
2951
3079
|
# @option params [Integer] :health_check_interval_seconds
|
2952
3080
|
# The approximate amount of time, in seconds, between health checks of
|
2953
|
-
# an individual target. For Application Load Balancers, the range is
|
2954
|
-
#
|
2955
|
-
#
|
3081
|
+
# an individual target. For Application Load Balancers, the range is
|
3082
|
+
# 5–300 seconds. For Network Load Balancers, the supported values are 10
|
3083
|
+
# or 30 seconds.
|
2956
3084
|
#
|
2957
3085
|
# @option params [Integer] :health_check_timeout_seconds
|
2958
3086
|
# \[HTTP/HTTPS health checks\] The amount of time, in seconds, during
|
@@ -3302,7 +3430,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3302
3430
|
# Sets the type of IP addresses used by the subnets of the specified
|
3303
3431
|
# Application Load Balancer or Network Load Balancer.
|
3304
3432
|
#
|
3305
|
-
#
|
3433
|
+
# Network Load Balancers must use `ipv4`.
|
3306
3434
|
#
|
3307
3435
|
# @option params [required, String] :load_balancer_arn
|
3308
3436
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -3409,7 +3537,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3409
3537
|
# resp.rules[0].conditions[0].values #=> Array
|
3410
3538
|
# resp.rules[0].conditions[0].values[0] #=> String
|
3411
3539
|
# resp.rules[0].actions #=> Array
|
3412
|
-
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito"
|
3540
|
+
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
|
3413
3541
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
3414
3542
|
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
|
3415
3543
|
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -3433,6 +3561,15 @@ module Aws::ElasticLoadBalancingV2
|
|
3433
3561
|
# resp.rules[0].actions[0].authenticate_cognito_config.authentication_request_extra_params["AuthenticateCognitoActionAuthenticationRequestParamName"] #=> String
|
3434
3562
|
# resp.rules[0].actions[0].authenticate_cognito_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
3435
3563
|
# resp.rules[0].actions[0].order #=> Integer
|
3564
|
+
# resp.rules[0].actions[0].redirect_config.protocol #=> String
|
3565
|
+
# resp.rules[0].actions[0].redirect_config.port #=> String
|
3566
|
+
# resp.rules[0].actions[0].redirect_config.host #=> String
|
3567
|
+
# resp.rules[0].actions[0].redirect_config.path #=> String
|
3568
|
+
# resp.rules[0].actions[0].redirect_config.query #=> String
|
3569
|
+
# resp.rules[0].actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
|
3570
|
+
# resp.rules[0].actions[0].fixed_response_config.message_body #=> String
|
3571
|
+
# resp.rules[0].actions[0].fixed_response_config.status_code #=> String
|
3572
|
+
# resp.rules[0].actions[0].fixed_response_config.content_type #=> String
|
3436
3573
|
# resp.rules[0].is_default #=> Boolean
|
3437
3574
|
#
|
3438
3575
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities AWS API Documentation
|
@@ -3448,8 +3585,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3448
3585
|
# Application Load Balancer. The specified security groups override the
|
3449
3586
|
# previously associated security groups.
|
3450
3587
|
#
|
3451
|
-
#
|
3452
|
-
# Balancer.
|
3588
|
+
# You can't specify a security group for a Network Load Balancer.
|
3453
3589
|
#
|
3454
3590
|
# @option params [required, String] :load_balancer_arn
|
3455
3591
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -3505,7 +3641,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3505
3641
|
# specified Application Load Balancer. The specified subnets replace the
|
3506
3642
|
# previously enabled subnets.
|
3507
3643
|
#
|
3508
|
-
#
|
3644
|
+
# You can't change the subnets for a Network Load Balancer.
|
3509
3645
|
#
|
3510
3646
|
# @option params [required, String] :load_balancer_arn
|
3511
3647
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -3597,7 +3733,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3597
3733
|
params: params,
|
3598
3734
|
config: config)
|
3599
3735
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
3600
|
-
context[:gem_version] = '1.
|
3736
|
+
context[:gem_version] = '1.12.0'
|
3601
3737
|
Seahorse::Client::Request.new(handlers, context)
|
3602
3738
|
end
|
3603
3739
|
|
@@ -107,6 +107,10 @@ module Aws::ElasticLoadBalancingV2
|
|
107
107
|
DuplicateLoadBalancerNameException = Shapes::StructureShape.new(name: 'DuplicateLoadBalancerNameException')
|
108
108
|
DuplicateTagKeysException = Shapes::StructureShape.new(name: 'DuplicateTagKeysException')
|
109
109
|
DuplicateTargetGroupNameException = Shapes::StructureShape.new(name: 'DuplicateTargetGroupNameException')
|
110
|
+
FixedResponseActionConfig = Shapes::StructureShape.new(name: 'FixedResponseActionConfig')
|
111
|
+
FixedResponseActionContentType = Shapes::StringShape.new(name: 'FixedResponseActionContentType')
|
112
|
+
FixedResponseActionMessage = Shapes::StringShape.new(name: 'FixedResponseActionMessage')
|
113
|
+
FixedResponseActionStatusCode = Shapes::StringShape.new(name: 'FixedResponseActionStatusCode')
|
110
114
|
HealthCheckIntervalSeconds = Shapes::IntegerShape.new(name: 'HealthCheckIntervalSeconds')
|
111
115
|
HealthCheckPort = Shapes::StringShape.new(name: 'HealthCheckPort')
|
112
116
|
HealthCheckThresholdCount = Shapes::IntegerShape.new(name: 'HealthCheckThresholdCount')
|
@@ -168,6 +172,13 @@ module Aws::ElasticLoadBalancingV2
|
|
168
172
|
Port = Shapes::IntegerShape.new(name: 'Port')
|
169
173
|
PriorityInUseException = Shapes::StructureShape.new(name: 'PriorityInUseException')
|
170
174
|
ProtocolEnum = Shapes::StringShape.new(name: 'ProtocolEnum')
|
175
|
+
RedirectActionConfig = Shapes::StructureShape.new(name: 'RedirectActionConfig')
|
176
|
+
RedirectActionHost = Shapes::StringShape.new(name: 'RedirectActionHost')
|
177
|
+
RedirectActionPath = Shapes::StringShape.new(name: 'RedirectActionPath')
|
178
|
+
RedirectActionPort = Shapes::StringShape.new(name: 'RedirectActionPort')
|
179
|
+
RedirectActionProtocol = Shapes::StringShape.new(name: 'RedirectActionProtocol')
|
180
|
+
RedirectActionQuery = Shapes::StringShape.new(name: 'RedirectActionQuery')
|
181
|
+
RedirectActionStatusCodeEnum = Shapes::StringShape.new(name: 'RedirectActionStatusCodeEnum')
|
171
182
|
RegisterTargetsInput = Shapes::StructureShape.new(name: 'RegisterTargetsInput')
|
172
183
|
RegisterTargetsOutput = Shapes::StructureShape.new(name: 'RegisterTargetsOutput')
|
173
184
|
RemoveListenerCertificatesInput = Shapes::StructureShape.new(name: 'RemoveListenerCertificatesInput')
|
@@ -258,6 +269,8 @@ module Aws::ElasticLoadBalancingV2
|
|
258
269
|
Action.add_member(:authenticate_oidc_config, Shapes::ShapeRef.new(shape: AuthenticateOidcActionConfig, location_name: "AuthenticateOidcConfig"))
|
259
270
|
Action.add_member(:authenticate_cognito_config, Shapes::ShapeRef.new(shape: AuthenticateCognitoActionConfig, location_name: "AuthenticateCognitoConfig"))
|
260
271
|
Action.add_member(:order, Shapes::ShapeRef.new(shape: ActionOrder, location_name: "Order"))
|
272
|
+
Action.add_member(:redirect_config, Shapes::ShapeRef.new(shape: RedirectActionConfig, location_name: "RedirectConfig"))
|
273
|
+
Action.add_member(:fixed_response_config, Shapes::ShapeRef.new(shape: FixedResponseActionConfig, location_name: "FixedResponseConfig"))
|
261
274
|
Action.struct_class = Types::Action
|
262
275
|
|
263
276
|
Actions.member = Shapes::ShapeRef.new(shape: Action)
|
@@ -492,6 +505,11 @@ module Aws::ElasticLoadBalancingV2
|
|
492
505
|
DescribeTargetHealthOutput.add_member(:target_health_descriptions, Shapes::ShapeRef.new(shape: TargetHealthDescriptions, location_name: "TargetHealthDescriptions"))
|
493
506
|
DescribeTargetHealthOutput.struct_class = Types::DescribeTargetHealthOutput
|
494
507
|
|
508
|
+
FixedResponseActionConfig.add_member(:message_body, Shapes::ShapeRef.new(shape: FixedResponseActionMessage, location_name: "MessageBody"))
|
509
|
+
FixedResponseActionConfig.add_member(:status_code, Shapes::ShapeRef.new(shape: FixedResponseActionStatusCode, required: true, location_name: "StatusCode"))
|
510
|
+
FixedResponseActionConfig.add_member(:content_type, Shapes::ShapeRef.new(shape: FixedResponseActionContentType, location_name: "ContentType"))
|
511
|
+
FixedResponseActionConfig.struct_class = Types::FixedResponseActionConfig
|
512
|
+
|
495
513
|
Limit.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
496
514
|
Limit.add_member(:max, Shapes::ShapeRef.new(shape: Max, location_name: "Max"))
|
497
515
|
Limit.struct_class = Types::Limit
|
@@ -599,6 +617,14 @@ module Aws::ElasticLoadBalancingV2
|
|
599
617
|
ModifyTargetGroupOutput.add_member(:target_groups, Shapes::ShapeRef.new(shape: TargetGroups, location_name: "TargetGroups"))
|
600
618
|
ModifyTargetGroupOutput.struct_class = Types::ModifyTargetGroupOutput
|
601
619
|
|
620
|
+
RedirectActionConfig.add_member(:protocol, Shapes::ShapeRef.new(shape: RedirectActionProtocol, location_name: "Protocol"))
|
621
|
+
RedirectActionConfig.add_member(:port, Shapes::ShapeRef.new(shape: RedirectActionPort, location_name: "Port"))
|
622
|
+
RedirectActionConfig.add_member(:host, Shapes::ShapeRef.new(shape: RedirectActionHost, location_name: "Host"))
|
623
|
+
RedirectActionConfig.add_member(:path, Shapes::ShapeRef.new(shape: RedirectActionPath, location_name: "Path"))
|
624
|
+
RedirectActionConfig.add_member(:query, Shapes::ShapeRef.new(shape: RedirectActionQuery, location_name: "Query"))
|
625
|
+
RedirectActionConfig.add_member(:status_code, Shapes::ShapeRef.new(shape: RedirectActionStatusCodeEnum, required: true, location_name: "StatusCode"))
|
626
|
+
RedirectActionConfig.struct_class = Types::RedirectActionConfig
|
627
|
+
|
602
628
|
RegisterTargetsInput.add_member(:target_group_arn, Shapes::ShapeRef.new(shape: TargetGroupArn, required: true, location_name: "TargetGroupArn"))
|
603
629
|
RegisterTargetsInput.add_member(:targets, Shapes::ShapeRef.new(shape: TargetDescriptions, required: true, location_name: "Targets"))
|
604
630
|
RegisterTargetsInput.struct_class = Types::RegisterTargetsInput
|
@@ -14,7 +14,7 @@ module Aws::ElasticLoadBalancingV2
|
|
14
14
|
# data as a hash:
|
15
15
|
#
|
16
16
|
# {
|
17
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito
|
17
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
18
18
|
# target_group_arn: "TargetGroupArn",
|
19
19
|
# authenticate_oidc_config: {
|
20
20
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -44,19 +44,30 @@ module Aws::ElasticLoadBalancingV2
|
|
44
44
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
45
45
|
# },
|
46
46
|
# order: 1,
|
47
|
+
# redirect_config: {
|
48
|
+
# protocol: "RedirectActionProtocol",
|
49
|
+
# port: "RedirectActionPort",
|
50
|
+
# host: "RedirectActionHost",
|
51
|
+
# path: "RedirectActionPath",
|
52
|
+
# query: "RedirectActionQuery",
|
53
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
54
|
+
# },
|
55
|
+
# fixed_response_config: {
|
56
|
+
# message_body: "FixedResponseActionMessage",
|
57
|
+
# status_code: "FixedResponseActionStatusCode", # required
|
58
|
+
# content_type: "FixedResponseActionContentType",
|
59
|
+
# },
|
47
60
|
# }
|
48
61
|
#
|
49
62
|
# @!attribute [rw] type
|
50
|
-
# The type of action. Each rule must include one
|
63
|
+
# The type of action. Each rule must include exactly one of the
|
64
|
+
# following types of actions: `forward`, `fixed-response`, or
|
65
|
+
# `redirect`.
|
51
66
|
# @return [String]
|
52
67
|
#
|
53
68
|
# @!attribute [rw] target_group_arn
|
54
69
|
# The Amazon Resource Name (ARN) of the target group. Specify only
|
55
70
|
# when `Type` is `forward`.
|
56
|
-
#
|
57
|
-
# For a default rule, the protocol of the target group must be HTTP or
|
58
|
-
# HTTPS for an Application Load Balancer or TCP for a Network Load
|
59
|
-
# Balancer.
|
60
71
|
# @return [String]
|
61
72
|
#
|
62
73
|
# @!attribute [rw] authenticate_oidc_config
|
@@ -74,9 +85,21 @@ module Aws::ElasticLoadBalancingV2
|
|
74
85
|
# @!attribute [rw] order
|
75
86
|
# The order for the action. This value is required for rules with
|
76
87
|
# multiple actions. The action with the lowest value for order is
|
77
|
-
# performed first. The
|
88
|
+
# performed first. The final action to be performed must be a
|
89
|
+
# `forward` or a `fixed-response` action.
|
78
90
|
# @return [Integer]
|
79
91
|
#
|
92
|
+
# @!attribute [rw] redirect_config
|
93
|
+
# \[Application Load Balancer\] Information for creating a redirect
|
94
|
+
# action. Specify only when `Type` is `redirect`.
|
95
|
+
# @return [Types::RedirectActionConfig]
|
96
|
+
#
|
97
|
+
# @!attribute [rw] fixed_response_config
|
98
|
+
# \[Application Load Balancer\] Information for creating an action
|
99
|
+
# that returns a custom HTTP response. Specify only when `Type` is
|
100
|
+
# `fixed-response`.
|
101
|
+
# @return [Types::FixedResponseActionConfig]
|
102
|
+
#
|
80
103
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Action AWS API Documentation
|
81
104
|
#
|
82
105
|
class Action < Struct.new(
|
@@ -84,7 +107,9 @@ module Aws::ElasticLoadBalancingV2
|
|
84
107
|
:target_group_arn,
|
85
108
|
:authenticate_oidc_config,
|
86
109
|
:authenticate_cognito_config,
|
87
|
-
:order
|
110
|
+
:order,
|
111
|
+
:redirect_config,
|
112
|
+
:fixed_response_config)
|
88
113
|
include Aws::Structure
|
89
114
|
end
|
90
115
|
|
@@ -427,7 +452,7 @@ module Aws::ElasticLoadBalancingV2
|
|
427
452
|
# ],
|
428
453
|
# default_actions: [ # required
|
429
454
|
# {
|
430
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito
|
455
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
431
456
|
# target_group_arn: "TargetGroupArn",
|
432
457
|
# authenticate_oidc_config: {
|
433
458
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -457,6 +482,19 @@ module Aws::ElasticLoadBalancingV2
|
|
457
482
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
458
483
|
# },
|
459
484
|
# order: 1,
|
485
|
+
# redirect_config: {
|
486
|
+
# protocol: "RedirectActionProtocol",
|
487
|
+
# port: "RedirectActionPort",
|
488
|
+
# host: "RedirectActionHost",
|
489
|
+
# path: "RedirectActionPath",
|
490
|
+
# query: "RedirectActionQuery",
|
491
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
492
|
+
# },
|
493
|
+
# fixed_response_config: {
|
494
|
+
# message_body: "FixedResponseActionMessage",
|
495
|
+
# status_code: "FixedResponseActionStatusCode", # required
|
496
|
+
# content_type: "FixedResponseActionContentType",
|
497
|
+
# },
|
460
498
|
# },
|
461
499
|
# ],
|
462
500
|
# }
|
@@ -483,24 +521,31 @@ module Aws::ElasticLoadBalancingV2
|
|
483
521
|
#
|
484
522
|
# @!attribute [rw] certificates
|
485
523
|
# \[HTTPS listeners\] The default SSL server certificate. You must
|
486
|
-
# provide exactly one certificate. To create a certificate
|
487
|
-
# AddListenerCertificates.
|
524
|
+
# provide exactly one default certificate. To create a certificate
|
525
|
+
# list, use AddListenerCertificates.
|
488
526
|
# @return [Array<Types::Certificate>]
|
489
527
|
#
|
490
528
|
# @!attribute [rw] default_actions
|
491
529
|
# The actions for the default rule. The rule must include one forward
|
492
|
-
# action.
|
530
|
+
# action or one or more fixed-response actions.
|
493
531
|
#
|
494
532
|
# If the action type is `forward`, you can specify a single target
|
495
533
|
# group. The protocol of the target group must be HTTP or HTTPS for an
|
496
534
|
# Application Load Balancer or TCP for a Network Load Balancer.
|
497
535
|
#
|
498
|
-
# If the action type is `authenticate-oidc`, you
|
499
|
-
# provider that is OpenID Connect (OIDC) compliant
|
500
|
-
# users as they access your application.
|
536
|
+
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you
|
537
|
+
# can use an identity provider that is OpenID Connect (OIDC) compliant
|
538
|
+
# to authenticate users as they access your application.
|
501
539
|
#
|
502
|
-
# If the action type is `authenticate-cognito`, you
|
503
|
-
# Cognito to authenticate users as they access your
|
540
|
+
# \[HTTPS listener\] If the action type is `authenticate-cognito`, you
|
541
|
+
# can use Amazon Cognito to authenticate users as they access your
|
542
|
+
# application.
|
543
|
+
#
|
544
|
+
# \[Application Load Balancer\] If the action type is `redirect`, you
|
545
|
+
# can redirect HTTP and HTTPS requests.
|
546
|
+
#
|
547
|
+
# \[Application Load Balancer\] If the action type is
|
548
|
+
# `fixed-response`, you can return a custom HTTP response.
|
504
549
|
# @return [Array<Types::Action>]
|
505
550
|
#
|
506
551
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerInput AWS API Documentation
|
@@ -595,7 +640,7 @@ module Aws::ElasticLoadBalancingV2
|
|
595
640
|
# addresses. The DNS name of an Internet-facing load balancer is
|
596
641
|
# publicly resolvable to the public IP addresses of the nodes.
|
597
642
|
# Therefore, Internet-facing load balancers can route requests from
|
598
|
-
# clients over the
|
643
|
+
# clients over the internet.
|
599
644
|
#
|
600
645
|
# The nodes of an internal load balancer have only private IP
|
601
646
|
# addresses. The DNS name of an internal load balancer is publicly
|
@@ -660,7 +705,7 @@ module Aws::ElasticLoadBalancingV2
|
|
660
705
|
# priority: 1, # required
|
661
706
|
# actions: [ # required
|
662
707
|
# {
|
663
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito
|
708
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
664
709
|
# target_group_arn: "TargetGroupArn",
|
665
710
|
# authenticate_oidc_config: {
|
666
711
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -690,6 +735,19 @@ module Aws::ElasticLoadBalancingV2
|
|
690
735
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
691
736
|
# },
|
692
737
|
# order: 1,
|
738
|
+
# redirect_config: {
|
739
|
+
# protocol: "RedirectActionProtocol",
|
740
|
+
# port: "RedirectActionPort",
|
741
|
+
# host: "RedirectActionHost",
|
742
|
+
# path: "RedirectActionPath",
|
743
|
+
# query: "RedirectActionQuery",
|
744
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
745
|
+
# },
|
746
|
+
# fixed_response_config: {
|
747
|
+
# message_body: "FixedResponseActionMessage",
|
748
|
+
# status_code: "FixedResponseActionStatusCode", # required
|
749
|
+
# content_type: "FixedResponseActionContentType",
|
750
|
+
# },
|
693
751
|
# },
|
694
752
|
# ],
|
695
753
|
# }
|
@@ -705,7 +763,7 @@ module Aws::ElasticLoadBalancingV2
|
|
705
763
|
# If the field name is `host-header`, you can specify a single host
|
706
764
|
# name (for example, my.example.com). A host name is case insensitive,
|
707
765
|
# can be up to 128 characters in length, and can contain any of the
|
708
|
-
# following characters.
|
766
|
+
# following characters. You can include up to three wildcard
|
709
767
|
# characters.
|
710
768
|
#
|
711
769
|
# * A-Z, a-z, 0-9
|
@@ -717,10 +775,9 @@ module Aws::ElasticLoadBalancingV2
|
|
717
775
|
# * ? (matches exactly 1 character)
|
718
776
|
#
|
719
777
|
# If the field name is `path-pattern`, you can specify a single path
|
720
|
-
# pattern. A path pattern is case
|
778
|
+
# pattern. A path pattern is case-sensitive, can be up to 128
|
721
779
|
# characters in length, and can contain any of the following
|
722
|
-
# characters.
|
723
|
-
# characters.
|
780
|
+
# characters. You can include up to three wildcard characters.
|
724
781
|
#
|
725
782
|
# * A-Z, a-z, 0-9
|
726
783
|
#
|
@@ -739,17 +796,25 @@ module Aws::ElasticLoadBalancingV2
|
|
739
796
|
# @return [Integer]
|
740
797
|
#
|
741
798
|
# @!attribute [rw] actions
|
742
|
-
# The actions. Each rule must include one
|
799
|
+
# The actions. Each rule must include exactly one of the following
|
800
|
+
# types of actions: `forward`, `fixed-response`, or `redirect`.
|
743
801
|
#
|
744
802
|
# If the action type is `forward`, you can specify a single target
|
745
803
|
# group.
|
746
804
|
#
|
747
|
-
# If the action type is `authenticate-oidc`, you
|
748
|
-
# provider that is OpenID Connect (OIDC) compliant
|
749
|
-
# users as they access your application.
|
805
|
+
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you
|
806
|
+
# can use an identity provider that is OpenID Connect (OIDC) compliant
|
807
|
+
# to authenticate users as they access your application.
|
750
808
|
#
|
751
|
-
# If the action type is `authenticate-cognito`, you
|
752
|
-
# Cognito to authenticate users as they access your
|
809
|
+
# \[HTTPS listener\] If the action type is `authenticate-cognito`, you
|
810
|
+
# can use Amazon Cognito to authenticate users as they access your
|
811
|
+
# application.
|
812
|
+
#
|
813
|
+
# \[Application Load Balancer\] If the action type is `redirect`, you
|
814
|
+
# can redirect HTTP and HTTPS requests.
|
815
|
+
#
|
816
|
+
# \[Application Load Balancer\] If the action type is
|
817
|
+
# `fixed-response`, you can return a custom HTTP response.
|
753
818
|
# @return [Array<Types::Action>]
|
754
819
|
#
|
755
820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleInput AWS API Documentation
|
@@ -837,17 +902,17 @@ module Aws::ElasticLoadBalancingV2
|
|
837
902
|
#
|
838
903
|
# @!attribute [rw] health_check_interval_seconds
|
839
904
|
# The approximate amount of time, in seconds, between health checks of
|
840
|
-
# an individual target. For Application Load Balancers, the range is
|
841
|
-
#
|
905
|
+
# an individual target. For Application Load Balancers, the range is
|
906
|
+
# 5–300 seconds. For Network Load Balancers, the supported values are
|
842
907
|
# 10 or 30 seconds. The default is 30 seconds.
|
843
908
|
# @return [Integer]
|
844
909
|
#
|
845
910
|
# @!attribute [rw] health_check_timeout_seconds
|
846
911
|
# The amount of time, in seconds, during which no response from a
|
847
912
|
# target means a failed health check. For Application Load Balancers,
|
848
|
-
# the range is 2
|
849
|
-
#
|
850
|
-
#
|
913
|
+
# the range is 2–60 seconds and the default is 5 seconds. For Network
|
914
|
+
# Load Balancers, this is 10 seconds for TCP and HTTPS health checks
|
915
|
+
# and 6 seconds for HTTP health checks.
|
851
916
|
# @return [Integer]
|
852
917
|
#
|
853
918
|
# @!attribute [rw] healthy_threshold_count
|
@@ -873,8 +938,8 @@ module Aws::ElasticLoadBalancingV2
|
|
873
938
|
# The type of target that you must specify when registering targets
|
874
939
|
# with this target group. The possible values are `instance` (targets
|
875
940
|
# are specified by instance ID) or `ip` (targets are specified by IP
|
876
|
-
# address). The default is `instance`.
|
877
|
-
#
|
941
|
+
# address). The default is `instance`. You can't specify targets for
|
942
|
+
# a target group using both instance IDs and IP addresses.
|
878
943
|
#
|
879
944
|
# If the target type is `ip`, specify IP addresses from the subnets of
|
880
945
|
# the virtual private cloud (VPC) for the target group, the RFC 1918
|
@@ -1526,6 +1591,41 @@ module Aws::ElasticLoadBalancingV2
|
|
1526
1591
|
include Aws::Structure
|
1527
1592
|
end
|
1528
1593
|
|
1594
|
+
# Information about an action that returns a custom HTTP response.
|
1595
|
+
#
|
1596
|
+
# @note When making an API call, you may pass FixedResponseActionConfig
|
1597
|
+
# data as a hash:
|
1598
|
+
#
|
1599
|
+
# {
|
1600
|
+
# message_body: "FixedResponseActionMessage",
|
1601
|
+
# status_code: "FixedResponseActionStatusCode", # required
|
1602
|
+
# content_type: "FixedResponseActionContentType",
|
1603
|
+
# }
|
1604
|
+
#
|
1605
|
+
# @!attribute [rw] message_body
|
1606
|
+
# The message.
|
1607
|
+
# @return [String]
|
1608
|
+
#
|
1609
|
+
# @!attribute [rw] status_code
|
1610
|
+
# The HTTP response code (2XX, 4XX, or 5XX).
|
1611
|
+
# @return [String]
|
1612
|
+
#
|
1613
|
+
# @!attribute [rw] content_type
|
1614
|
+
# The content type.
|
1615
|
+
#
|
1616
|
+
# Valid Values: text/plain \| text/css \| text/html \|
|
1617
|
+
# application/javascript \| application/json
|
1618
|
+
# @return [String]
|
1619
|
+
#
|
1620
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/FixedResponseActionConfig AWS API Documentation
|
1621
|
+
#
|
1622
|
+
class FixedResponseActionConfig < Struct.new(
|
1623
|
+
:message_body,
|
1624
|
+
:status_code,
|
1625
|
+
:content_type)
|
1626
|
+
include Aws::Structure
|
1627
|
+
end
|
1628
|
+
|
1529
1629
|
# Information about an Elastic Load Balancing resource limit for your
|
1530
1630
|
# AWS account.
|
1531
1631
|
#
|
@@ -1636,7 +1736,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1636
1736
|
# addresses. The DNS name of an Internet-facing load balancer is
|
1637
1737
|
# publicly resolvable to the public IP addresses of the nodes.
|
1638
1738
|
# Therefore, Internet-facing load balancers can route requests from
|
1639
|
-
# clients over the
|
1739
|
+
# clients over the internet.
|
1640
1740
|
#
|
1641
1741
|
# The nodes of an internal load balancer have only private IP
|
1642
1742
|
# addresses. The DNS name of an internal load balancer is publicly
|
@@ -1739,7 +1839,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1739
1839
|
# * `access_logs.s3.bucket` - The name of the S3 bucket for the access
|
1740
1840
|
# logs. This attribute is required if access logs are enabled. The
|
1741
1841
|
# bucket must exist in the same region as the load balancer and have
|
1742
|
-
# a bucket policy that grants Elastic Load Balancing
|
1842
|
+
# a bucket policy that grants Elastic Load Balancing permissions to
|
1743
1843
|
# write to the bucket.
|
1744
1844
|
#
|
1745
1845
|
# * `access_logs.s3.prefix` - The prefix for the location in the S3
|
@@ -1813,7 +1913,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1813
1913
|
# values (for example, "200,202") or a range of values (for example,
|
1814
1914
|
# "200-299").
|
1815
1915
|
#
|
1816
|
-
# For Network Load Balancers, this is 200
|
1916
|
+
# For Network Load Balancers, this is 200–399.
|
1817
1917
|
# @return [String]
|
1818
1918
|
#
|
1819
1919
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Matcher AWS API Documentation
|
@@ -1839,7 +1939,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1839
1939
|
# ],
|
1840
1940
|
# default_actions: [
|
1841
1941
|
# {
|
1842
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito
|
1942
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
1843
1943
|
# target_group_arn: "TargetGroupArn",
|
1844
1944
|
# authenticate_oidc_config: {
|
1845
1945
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -1869,6 +1969,19 @@ module Aws::ElasticLoadBalancingV2
|
|
1869
1969
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
1870
1970
|
# },
|
1871
1971
|
# order: 1,
|
1972
|
+
# redirect_config: {
|
1973
|
+
# protocol: "RedirectActionProtocol",
|
1974
|
+
# port: "RedirectActionPort",
|
1975
|
+
# host: "RedirectActionHost",
|
1976
|
+
# path: "RedirectActionPath",
|
1977
|
+
# query: "RedirectActionQuery",
|
1978
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
1979
|
+
# },
|
1980
|
+
# fixed_response_config: {
|
1981
|
+
# message_body: "FixedResponseActionMessage",
|
1982
|
+
# status_code: "FixedResponseActionStatusCode", # required
|
1983
|
+
# content_type: "FixedResponseActionContentType",
|
1984
|
+
# },
|
1872
1985
|
# },
|
1873
1986
|
# ],
|
1874
1987
|
# }
|
@@ -1899,24 +2012,31 @@ module Aws::ElasticLoadBalancingV2
|
|
1899
2012
|
#
|
1900
2013
|
# @!attribute [rw] certificates
|
1901
2014
|
# \[HTTPS listeners\] The default SSL server certificate. You must
|
1902
|
-
# provide exactly one certificate. To create a certificate
|
1903
|
-
# AddListenerCertificates.
|
2015
|
+
# provide exactly one default certificate. To create a certificate
|
2016
|
+
# list, use AddListenerCertificates.
|
1904
2017
|
# @return [Array<Types::Certificate>]
|
1905
2018
|
#
|
1906
2019
|
# @!attribute [rw] default_actions
|
1907
2020
|
# The actions for the default rule. The rule must include one forward
|
1908
|
-
# action.
|
2021
|
+
# action or one or more fixed-response actions.
|
1909
2022
|
#
|
1910
2023
|
# If the action type is `forward`, you can specify a single target
|
1911
2024
|
# group. The protocol of the target group must be HTTP or HTTPS for an
|
1912
2025
|
# Application Load Balancer or TCP for a Network Load Balancer.
|
1913
2026
|
#
|
1914
|
-
# If the action type is `authenticate-oidc`, you
|
1915
|
-
# provider that is OpenID Connect (OIDC) compliant
|
1916
|
-
# users as they access your application.
|
2027
|
+
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you
|
2028
|
+
# can use an identity provider that is OpenID Connect (OIDC) compliant
|
2029
|
+
# to authenticate users as they access your application.
|
1917
2030
|
#
|
1918
|
-
# If the action type is `authenticate-cognito`, you
|
1919
|
-
# Cognito to authenticate users as they access your
|
2031
|
+
# \[HTTPS listener\] If the action type is `authenticate-cognito`, you
|
2032
|
+
# can use Amazon Cognito to authenticate users as they access your
|
2033
|
+
# application.
|
2034
|
+
#
|
2035
|
+
# \[Application Load Balancer\] If the action type is `redirect`, you
|
2036
|
+
# can redirect HTTP and HTTPS requests.
|
2037
|
+
#
|
2038
|
+
# \[Application Load Balancer\] If the action type is
|
2039
|
+
# `fixed-response`, you can return a custom HTTP response.
|
1920
2040
|
# @return [Array<Types::Action>]
|
1921
2041
|
#
|
1922
2042
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerInput AWS API Documentation
|
@@ -1995,7 +2115,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1995
2115
|
# ],
|
1996
2116
|
# actions: [
|
1997
2117
|
# {
|
1998
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito
|
2118
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
1999
2119
|
# target_group_arn: "TargetGroupArn",
|
2000
2120
|
# authenticate_oidc_config: {
|
2001
2121
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -2025,6 +2145,19 @@ module Aws::ElasticLoadBalancingV2
|
|
2025
2145
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
2026
2146
|
# },
|
2027
2147
|
# order: 1,
|
2148
|
+
# redirect_config: {
|
2149
|
+
# protocol: "RedirectActionProtocol",
|
2150
|
+
# port: "RedirectActionPort",
|
2151
|
+
# host: "RedirectActionHost",
|
2152
|
+
# path: "RedirectActionPath",
|
2153
|
+
# query: "RedirectActionQuery",
|
2154
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
2155
|
+
# },
|
2156
|
+
# fixed_response_config: {
|
2157
|
+
# message_body: "FixedResponseActionMessage",
|
2158
|
+
# status_code: "FixedResponseActionStatusCode", # required
|
2159
|
+
# content_type: "FixedResponseActionContentType",
|
2160
|
+
# },
|
2028
2161
|
# },
|
2029
2162
|
# ],
|
2030
2163
|
# }
|
@@ -2040,7 +2173,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2040
2173
|
# If the field name is `host-header`, you can specify a single host
|
2041
2174
|
# name (for example, my.example.com). A host name is case insensitive,
|
2042
2175
|
# can be up to 128 characters in length, and can contain any of the
|
2043
|
-
# following characters.
|
2176
|
+
# following characters. You can include up to three wildcard
|
2044
2177
|
# characters.
|
2045
2178
|
#
|
2046
2179
|
# * A-Z, a-z, 0-9
|
@@ -2052,10 +2185,9 @@ module Aws::ElasticLoadBalancingV2
|
|
2052
2185
|
# * ? (matches exactly 1 character)
|
2053
2186
|
#
|
2054
2187
|
# If the field name is `path-pattern`, you can specify a single path
|
2055
|
-
# pattern. A path pattern is case
|
2188
|
+
# pattern. A path pattern is case-sensitive, can be up to 128
|
2056
2189
|
# characters in length, and can contain any of the following
|
2057
|
-
# characters.
|
2058
|
-
# characters.
|
2190
|
+
# characters. You can include up to three wildcard characters.
|
2059
2191
|
#
|
2060
2192
|
# * A-Z, a-z, 0-9
|
2061
2193
|
#
|
@@ -2181,8 +2313,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2181
2313
|
#
|
2182
2314
|
# @!attribute [rw] health_check_interval_seconds
|
2183
2315
|
# The approximate amount of time, in seconds, between health checks of
|
2184
|
-
# an individual target. For Application Load Balancers, the range is
|
2185
|
-
#
|
2316
|
+
# an individual target. For Application Load Balancers, the range is
|
2317
|
+
# 5–300 seconds. For Network Load Balancers, the supported values are
|
2186
2318
|
# 10 or 30 seconds.
|
2187
2319
|
# @return [Integer]
|
2188
2320
|
#
|
@@ -2233,6 +2365,86 @@ module Aws::ElasticLoadBalancingV2
|
|
2233
2365
|
include Aws::Structure
|
2234
2366
|
end
|
2235
2367
|
|
2368
|
+
# Information about a redirect action.
|
2369
|
+
#
|
2370
|
+
# A URI consists of the following components:
|
2371
|
+
# protocol://hostname:port/path?query. You must modify at least one of
|
2372
|
+
# the following components to avoid a redirect loop: protocol, hostname,
|
2373
|
+
# port, or path. Any components that you do not modify retain their
|
2374
|
+
# original values.
|
2375
|
+
#
|
2376
|
+
# You can reuse URI components using the following reserved keywords:
|
2377
|
+
#
|
2378
|
+
# * \#\\\{protocol\\}
|
2379
|
+
#
|
2380
|
+
# * \#\\\{host\\}
|
2381
|
+
#
|
2382
|
+
# * \#\\\{port\\}
|
2383
|
+
#
|
2384
|
+
# * \#\\\{path\\} (the leading "/" is removed)
|
2385
|
+
#
|
2386
|
+
# * \#\\\{query\\}
|
2387
|
+
#
|
2388
|
+
# For example, you can change the path to "/new/#\\\{path\\}", the
|
2389
|
+
# hostname to "example.#\\\{host\\}", or the query to
|
2390
|
+
# "#\\\{query\\}&value=xyz".
|
2391
|
+
#
|
2392
|
+
# @note When making an API call, you may pass RedirectActionConfig
|
2393
|
+
# data as a hash:
|
2394
|
+
#
|
2395
|
+
# {
|
2396
|
+
# protocol: "RedirectActionProtocol",
|
2397
|
+
# port: "RedirectActionPort",
|
2398
|
+
# host: "RedirectActionHost",
|
2399
|
+
# path: "RedirectActionPath",
|
2400
|
+
# query: "RedirectActionQuery",
|
2401
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
2402
|
+
# }
|
2403
|
+
#
|
2404
|
+
# @!attribute [rw] protocol
|
2405
|
+
# The protocol. You can specify HTTP, HTTPS, or #\\\{protocol\\}. You
|
2406
|
+
# can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You
|
2407
|
+
# cannot redirect HTTPS to HTTP.
|
2408
|
+
# @return [String]
|
2409
|
+
#
|
2410
|
+
# @!attribute [rw] port
|
2411
|
+
# The port. You can specify a value from 1 to 65535 or #\\\{port\\}.
|
2412
|
+
# @return [String]
|
2413
|
+
#
|
2414
|
+
# @!attribute [rw] host
|
2415
|
+
# The hostname. This component is not percent-encoded. The hostname
|
2416
|
+
# can contain #\\\{host\\}.
|
2417
|
+
# @return [String]
|
2418
|
+
#
|
2419
|
+
# @!attribute [rw] path
|
2420
|
+
# The absolute path, starting with the leading "/". This component
|
2421
|
+
# is not percent-encoded. The path can contain #\\\{host\\},
|
2422
|
+
# #\\\{path\\}, and #\\\{port\\}.
|
2423
|
+
# @return [String]
|
2424
|
+
#
|
2425
|
+
# @!attribute [rw] query
|
2426
|
+
# The query parameters, URL-encoded when necessary, but not
|
2427
|
+
# percent-encoded. Do not include the leading "?", as it is
|
2428
|
+
# automatically added. You can specify any of the reserved keywords.
|
2429
|
+
# @return [String]
|
2430
|
+
#
|
2431
|
+
# @!attribute [rw] status_code
|
2432
|
+
# The HTTP redirect code. The redirect is either permanent (HTTP 301)
|
2433
|
+
# or temporary (HTTP 302).
|
2434
|
+
# @return [String]
|
2435
|
+
#
|
2436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RedirectActionConfig AWS API Documentation
|
2437
|
+
#
|
2438
|
+
class RedirectActionConfig < Struct.new(
|
2439
|
+
:protocol,
|
2440
|
+
:port,
|
2441
|
+
:host,
|
2442
|
+
:path,
|
2443
|
+
:query,
|
2444
|
+
:status_code)
|
2445
|
+
include Aws::Structure
|
2446
|
+
end
|
2447
|
+
|
2236
2448
|
# @note When making an API call, you may pass RegisterTargetsInput
|
2237
2449
|
# data as a hash:
|
2238
2450
|
#
|
@@ -2382,7 +2594,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2382
2594
|
# If the field name is `host-header`, you can specify a single host
|
2383
2595
|
# name (for example, my.example.com). A host name is case insensitive,
|
2384
2596
|
# can be up to 128 characters in length, and can contain any of the
|
2385
|
-
# following characters.
|
2597
|
+
# following characters. You can include up to three wildcard
|
2386
2598
|
# characters.
|
2387
2599
|
#
|
2388
2600
|
# * A-Z, a-z, 0-9
|
@@ -2394,9 +2606,9 @@ module Aws::ElasticLoadBalancingV2
|
|
2394
2606
|
# * ? (matches exactly 1 character)
|
2395
2607
|
#
|
2396
2608
|
# If the field name is `path-pattern`, you can specify a single path
|
2397
|
-
# pattern (for example, /img/*). A path pattern is case
|
2609
|
+
# pattern (for example, /img/*). A path pattern is case-sensitive,
|
2398
2610
|
# can be up to 128 characters in length, and can contain any of the
|
2399
|
-
# following characters.
|
2611
|
+
# following characters. You can include up to three wildcard
|
2400
2612
|
# characters.
|
2401
2613
|
#
|
2402
2614
|
# * A-Z, a-z, 0-9
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticloadbalancingv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|